summaryrefslogtreecommitdiff
path: root/round-robin.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-06 15:32:59 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-06 15:33:47 +0000
commit3a3b85d3d1eb684e7e2ee3e0682c639d362e67c2 (patch)
tree3e08f53b73c244b4d59377cc132fec0c9ef2ffcf /round-robin.sh
parentebc7a81b6ec7e0bb5eb30db4a5dabd09ebda3775 (diff)
round-robin.sh: Fix assertion for cross-testing using QEMU
Change-Id: I698e6991d7439044fc67b0ead48d7c513b83382c
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