Since
c0cd106fcc9f, we add __config_site macro defines to the compiler
command line whether we are building with modules or not. This means
that the modules tests are expected to fail on single-threaded systems
whether we build with modules or not.
// FIXME: The <atomic> header is not supported for single-threaded systems,
// but still gets built as part of the 'std' module, which breaks the build.
-// The failure only shows up when modules are enabled AND we're building
-// without threads, which is when the __config_site macro for _LIBCPP_HAS_NO_THREADS
-// is honored.
-// XFAIL: libcpp-has-no-threads && -fmodules
+// XFAIL: libcpp-has-no-threads
// REQUIRES: modules-support
// ADDITIONAL_COMPILE_FLAGS: -fmodules
// FIXME: The <atomic> header is not supported for single-threaded systems,
// but still gets built as part of the 'std' module, which breaks the build.
-// The failure only shows up when modules are enabled AND we're building
-// without threads, which is when the __config_site macro for _LIBCPP_HAS_NO_THREADS
-// is honored.
-// XFAIL: libcpp-has-no-threads && -fmodules
+// XFAIL: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
// FIXME: The <atomic> header is not supported for single-threaded systems,
// but still gets built as part of the 'std' module, which breaks the build.
-// The failure only shows up when modules are enabled AND we're building
-// without threads, which is when the __config_site macro for _LIBCPP_HAS_NO_THREADS
-// is honored.
-// XFAIL: libcpp-has-no-threads && -fmodules
+// XFAIL: libcpp-has-no-threads
// Test that <cstdint> re-exports <stdint.h>
// FIXME: The <atomic> header is not supported for single-threaded systems,
// but still gets built as part of the 'std' module, which breaks the build.
-// The failure only shows up when modules are enabled AND we're building
-// without threads, which is when the __config_site macro for _LIBCPP_HAS_NO_THREADS
-// is honored.
-// XFAIL: libcpp-has-no-threads && -fmodules
+// XFAIL: libcpp-has-no-threads
// Test that intypes.h re-exports stdint.h
// FIXME: The <atomic> header is not supported for single-threaded systems,
// but still gets built as part of the 'std' module, which breaks the build.
-// The failure only shows up when modules are enabled AND we're building
-// without threads, which is when the __config_site macro for _LIBCPP_HAS_NO_THREADS
-// is honored.
-// XFAIL: libcpp-has-no-threads && -fmodules
+// XFAIL: libcpp-has-no-threads
// Test that int8_t and the like are exported from stdint.h, not inttypes.h
// FIXME: The <atomic> header is not supported for single-threaded systems,
// but still gets built as part of the 'std' module, which breaks the build.
-// The failure only shows up when modules are enabled AND we're building
-// without threads, which is when the __config_site macro for _LIBCPP_HAS_NO_THREADS
-// is honored.
-// XFAIL: libcpp-has-no-threads && -fmodules
+// XFAIL: libcpp-has-no-threads
// REQUIRES: modules-support