summaryrefslogtreecommitdiff
path: root/round-robin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'round-robin.sh')
-rw-r--r--round-robin.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh
index f6bc2445..427ac181 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -393,8 +393,9 @@ build_abe ()
# QEMU can't handle TSan's shadow memory and it sends host machine
# into swap.
if $check && [ x"$project" = x"gcc" ]; then
- assert_with_msg "ERROR: Testing is not using QEMU" \
- ! echo "$stage" | grep -q -e "--testcontainer"
+ if echo "$stage" | grep -q -e "--testcontainer"; then
+ assert_with_msg "ERROR: Testing is not using QEMU" false
+ fi
sed -i \
-e 's/set dg-do-what-default run/set dg-do-what-default link' \
../gcc/gcc/testsuite/lib/tsan-dg.exp