aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWen Jin <wenx.jin@intel.com>2017-10-27 23:24:05 +0800
committerTony Luck <tony.luck@intel.com>2017-10-30 09:52:22 -0700
commitc841d108e4c07540027fbb990fdc8c118531084f (patch)
treef232310b5f4f5f57dda2554fb911c91167eb3cc0
parent53accc280cb84661f744e8430409cc8d0c8d8bbd (diff)
downloadmce-test-c841d108e4c07540027fbb990fdc8c118531084f.tar.gz
If environment variable MCE_TEST_SKIP=s3_s4_test is set then skip s3_s4_test
On system such as 0-day system, S3/S4 mode test is not required, can add environment variable MCE_TEST_SKIP=s3_s4_test to skip it. Signed-off-by: Wen Jin <wenx.jin@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rwxr-xr-xcases/function/bsp/bsp-test.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/cases/function/bsp/bsp-test.sh b/cases/function/bsp/bsp-test.sh
index 5627c30..a7993d3 100755
--- a/cases/function/bsp/bsp-test.sh
+++ b/cases/function/bsp/bsp-test.sh
@@ -264,6 +264,12 @@ main()
{
per_cpu_test
group_cpu_test
- s3_s4_test
+ case "$MCE_TEST_SKIP" in
+ *s3_s4*)
+ ;;
+ *)
+ s3_s4_test
+ ;;
+ esac
}
main