From 3c6e1fe8bc82c5b7e95ace83438c9a7a3b044f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 10 Oct 2018 12:39:43 +0300 Subject: [PATCH] Make a shell script case more compact --- run-tests.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index 56244d1..898e4e3 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -48,12 +48,9 @@ for arch in $ARCHS; do # These aren't run, since asan doesn't work within wine. for test in $TESTS_ASAN; do case $arch in - i686|x86_64) - # Sanitizers on windows only support x86. - ;; - *) - continue - ;; + # Sanitizers on windows only support x86. + i686|x86_64) ;; + *) continue ;; esac $arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$arch/$test-asan.pdb done