run-tests: Skip running emulated x86 binaries on aarch64, when targeting msvcrt

In this configuration, one test in crt-test.c fails, both for
i686 and x86_64, when running emulated on aarch64.
This commit is contained in:
Martin Storsjö committed 2025-09-14 00:04:55 +03:00
1 parent 2ec690d08e
commit 81e6861ff6
1 file changed
+10
+10
View File
@@ -120,6 +120,16 @@ set_native() {
NATIVE_ARMV7=1
RUN_ARMV7=true
fi
if [ -z "$IS_UCRT" ]; then
# If targeting msvcrt.dll, skip executing the x86 binaries
# emulated. They do run, but statically linked mingw math
# functions fail some tests, when running emulated; those functions
# rely on 80 bit long doubles actually having more precision than
# 64 bit doubles.
unset RUN_I686
unset RUN_X86_64
fi
;;
esac
}