Make a shell script case more compact
This commit is contained in:
1 parent
73bd1bc62c
commit
3c6e1fe8bc
1 file changed
+2
-5
+2
-5
@@ -48,12 +48,9 @@ for arch in $ARCHS; do
|
|||||||
# These aren't run, since asan doesn't work within wine.
|
# These aren't run, since asan doesn't work within wine.
|
||||||
for test in $TESTS_ASAN; do
|
for test in $TESTS_ASAN; do
|
||||||
case $arch in
|
case $arch in
|
||||||
i686|x86_64)
|
|
||||||
# Sanitizers on windows only support x86.
|
# Sanitizers on windows only support x86.
|
||||||
;;
|
i686|x86_64) ;;
|
||||||
*)
|
*) continue ;;
|
||||||
continue
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
$arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$arch/$test-asan.pdb
|
$arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$arch/$test-asan.pdb
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user