From 63add77368bf1784605b51747e5d3c5094a2dff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 15 Sep 2020 14:42:51 +0300 Subject: [PATCH] run-tests: Run exception tests on wine on aarch64 as well Current git versions of wine can handle the exception unwinding properly. --- run-tests.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index 6b04e29..3e6f216 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -123,17 +123,14 @@ for arch in $ARCHS; do $arch-w64-mingw32-clang $test.c -o $TEST_DIR/$test-ansi-stdio.exe -D__USE_MINGW_ANSI_STDIO=1 TESTS_EXTRA="$TESTS_EXTRA $test-ansi-stdio" done - for test in $TESTS_CPP $TESTS_CPP_EXCEPTIONS; do + for test in $TESTS_CPP; do $arch-w64-mingw32-clang++ $test.cpp -o $TEST_DIR/$test.exe done for test in $TESTS_CPP_EXCEPTIONS; do + $arch-w64-mingw32-clang++ $test.cpp -o $TEST_DIR/$test.exe $arch-w64-mingw32-clang++ $test.cpp -O2 -o $TEST_DIR/$test-opt.exe + TESTS_EXTRA="$TESTS_EXTRA $test $test-opt" done - if [ "$arch" != "aarch64" ] || [ -n "$NATIVE_AARCH64" ]; then - for test in $TESTS_CPP_EXCEPTIONS; do - TESTS_EXTRA="$TESTS_EXTRA $test $test-opt" - done - fi for test in $TESTS_CPP_LOAD_DLL; do $arch-w64-mingw32-clang++ $test.cpp -o $TEST_DIR/$test.exe TESTS_EXTRA="$TESTS_EXTRA $test"