[libc++] Adjust XFAIL markup for modules tests on single-threaded systems
authorLouis Dionne <ldionne@apple.com>
Wed, 15 Apr 2020 18:17:40 +0000 (14:17 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 15 Apr 2020 18:28:07 +0000 (14:28 -0400)
commit91f110f50ee66e0e8de7d4d82e9a4068b10afc91
tree26418b6d3be3f3cc80e7d909611d9e723aed3ef8
parent6c9d52885deaddebe7c228392be20948f413a22f
[libc++] Adjust XFAIL markup for modules tests on single-threaded systems

When building these tests without modules in the whole test suite,
the __config_site macro definitions are not included anymore in the
%{compile_flags}. This causes the _LIBCPP_HAS_NO_THREADS define not
to be picked up, and the test to XPASS on single-threaded systems.

This is a stop-gap measure to fix the build bots, however the proper
solution would be to always pass the __config_site defines as compiler
macros, whether we build with modules or not.
libcxx/test/libcxx/modules/cinttypes_exports.compile.pass.cpp
libcxx/test/libcxx/modules/clocale_exports.compile.pass.cpp
libcxx/test/libcxx/modules/cstdint_exports.compile.pass.cpp
libcxx/test/libcxx/modules/inttypes_h_exports.compile.pass.cpp
libcxx/test/libcxx/modules/stdint_h_exports.compile.pass.cpp
libcxx/test/libcxx/modules/stds_include.sh.cpp