summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2019-07-29 11:51:07 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-08-04 03:38:41 +0000
commitc927bc07385b79a4f86c339cd0e0eed361090d9b (patch)
tree70ddfba6cf6261c9b1556036b94c2ae0064be2bf /run-tests.sh
parentd072dc09f5bc6431ba31244cf7e9eba1b6e85229 (diff)
tests: introduce BRICK_MUX_BAD_TESTS variable
... to ignore test failures specific to brick mux. Change-Id: I3114f34f194f18e7fc8c02a117b295f086721226 updates: bz#1193929 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 0ed1b69d23a..d3ff78d6915 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -265,6 +265,7 @@ function match()
# G_TESTDEF_TEST_STATUS_NETBSD7
# Some examples:
# G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=123456
+# G_TESTDEF_TEST_STATUS_CENTOS6=BRICK_MUX_BAD_TEST,BUG=123456
# G_TESTDEF_TEST_STATUS_NETBSD7=KNOWN_ISSUE,BUG=4444444
# G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=123456;555555
# G_TESTDEF_TEST_STATUS_CENTOS6=NFS_TESTS,BUG=1385758
@@ -356,7 +357,8 @@ function run_tests()
selected_tests=$((selected_tests+1))
echo
echo $section_separator$section_separator
- if [[ $(get_test_status $t) == "BAD_TEST" ]] && \
+ if [[ $(get_test_status $t) == "BAD_TEST" ]] || \
+ [[ $(get_test_status $t) == "BRICK_MUX_BAD_TEST" ]] && \
[[ $skip_bad_tests == "yes" ]]
then
skipped_bad_tests=$((skipped_bad_tests+1))