Blacklist test under gcstress.
Test: libcore
Change-Id: I01b7297d3dfeefd769fb68cfb8d3e74e75307b7c
diff --git a/tools/run-libcore-tests.sh b/tools/run-libcore-tests.sh
index 6dcc23a..eef74d2 100755
--- a/tools/run-libcore-tests.sh
+++ b/tools/run-libcore-tests.sh
@@ -158,9 +158,12 @@
fi
vogar_args="$vogar_args --vm-arg -Xusejit:$use_jit"
-# gcstress and debug may lead to timeouts, so we need a dedicated expectations file for it.
-if [[ $gcstress && $debug ]]; then
- expectations="$expectations --expectations art/tools/libcore_gcstress_debug_failures.txt"
+# gcstress may lead to timeouts, so we need dedicated expectations files for it.
+if [[ $gcstress ]]; then
+ expectations="$expectations --expectations art/tools/libcore_gcstress_failures.txt"
+ if [[ $debug ]]; then
+ expectations="$expectations --expectations art/tools/libcore_gcstress_debug_failures.txt"
+ fi
fi
# Run the tests using vogar.