test: Add a comment about a test that fails when run emulated on arm
The test is specific to building for x86, for a msvcrt.dll target, and running that binary on arm.
This commit is contained in:
1 parent
4c82a47afb
commit
e633b48b63
1 file changed
+7
@@ -749,6 +749,13 @@ void test_parse_numbers() {
|
||||
|
||||
TEST_STRTOD_64B_RANGE(strtod, );
|
||||
#ifndef MSVCRT_DLL_NOANSI
|
||||
// This test fails on msvcrt.dll when not using -D__USE_MINGW_ANSI_STDIO=1
|
||||
// (which sets __USE_MINGW_STRTOX), hence the ifdef.
|
||||
//
|
||||
// When using the mingw provided wcstod on x86, this test succeeds (and
|
||||
// thus is included). But when running such a binary emulated on ARM, this
|
||||
// particular test fails, as the range checks in __mingw_wcstod rely on
|
||||
// 80 bit long doubles really having more precision than 64 bit doubles.
|
||||
TEST_STRTOD_64B_RANGE(wcstod, L);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user