[libc++][libc++abi] Fix or suppress failing tests in single-threaded
authorEric Fiselier <eric@efcs.ca>
Mon, 20 Jan 2020 02:49:14 +0000 (21:49 -0500)
committerEric Fiselier <eric@efcs.ca>
Mon, 20 Jan 2020 02:49:14 +0000 (21:49 -0500)
commitd15fad2653d429efbf1a7c63c375530f8a1a1fa3
treeae6683370f51374d9e3881e50545bb8d0597284b
parent7a9fa76be7425b5a6fb3dfe7fc4f9e16892628cb
[libc++][libc++abi] Fix or suppress failing tests in single-threaded
builds.

Fix a libc++abi test that was incorrectly checking for threading
primitives even when threading was disabled.

Additionally, temporarily XFAIL some module tests that fail because
the <atomic> header is unsupported but still built as a part of the
std module.

To properly address this libc++ would either need to produce a different
module.modulemap for single-threaded configurations, or it would need
to make the <atomic> header not hard-error and instead be empty
for single-threaded configurations
libcxx/test/libcxx/modules/cinttypes_exports.sh.cpp
libcxx/test/libcxx/modules/clocale_exports.sh.cpp
libcxx/test/libcxx/modules/cstdint_exports.sh.cpp
libcxx/test/libcxx/modules/inttypes_h_exports.sh.cpp
libcxx/test/libcxx/modules/stdint_h_exports.sh.cpp
libcxxabi/test/guard_test_basic.pass.cpp