Bug 1926089 - Disable an fmt test on Linux debug x86.

Differential Revision: https://phabricator.services.mozilla.com/D226482
This commit is contained in:
Paul Adenot
2024-10-23 14:46:30 +00:00
parent 3abb12a360
commit f53e8d314d

View File

@@ -208,7 +208,10 @@ TEST(Fmt, IOError)
{ {
FILE* duped = fdopen(dup(fileno(stderr)), "w"); FILE* duped = fdopen(dup(fileno(stderr)), "w");
fclose(duped); fclose(duped);
// glibc will crash here on x86 Linux debug
# if defined(DEBUG) && defined(XP_LINUX) && !defined(__i386__)
fmt::println(duped, FMT_STRING("Hi {}"), 14); fmt::println(duped, FMT_STRING("Hi {}"), 14);
# endif
} }
# endif # endif
#endif #endif