run-tests: Actually try to run the asan-instrumented test binaries

Previously we would just run the plain version of them.
This commit is contained in:
Martin Storsjö committed 2022-09-15 13:55:15 +03:00
1 parent 5456a77fe3
commit fa02f14aea
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ for arch in $ARCHS; do
$arch-w64-mingw32-clang $test.c -o $TEST_DIR/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$TEST_DIR/$test-asan.pdb
# Only run these tests on native windows; asan doesn't run in wine.
if [ -n "$NATIVE" ]; then
TESTS_EXTRA="$TESTS_EXTRA $test"
TESTS_EXTRA="$TESTS_EXTRA $test-asan"
fi
done
for test in $TESTS_UBSAN; do