summaryrefslogtreecommitdiff
path: root/libcxxabi/test
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-05-26 11:49:47 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-05-27 15:24:45 -0400
commita7f9895cc18995549c7facb96e72718da282a864 (patch)
tree6a95dbde87ff705af173fe6f7975f5558e71b6fd /libcxxabi/test
parenteb1c50378e73f3e05678633b3d2b4b7b23d5e709 (diff)
downloadllvm-a7f9895cc18995549c7facb96e72718da282a864.tar.gz
[runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ
Since those features are general properties of the environment, it makes sense to use them from libc++abi too, and so the name libcpp-has-no-xxx doesn't make sense. Differential Revision: https://reviews.llvm.org/D126482
Diffstat (limited to 'libcxxabi/test')
-rw-r--r--libcxxabi/test/cxa_thread_atexit_test.pass.cpp2
-rw-r--r--libcxxabi/test/forced_unwind3.pass.cpp2
-rw-r--r--libcxxabi/test/guard_threaded_test.pass.cpp2
-rw-r--r--libcxxabi/test/libcxxabi/test/config.py2
-rw-r--r--libcxxabi/test/test_fallback_malloc.pass.cpp2
-rw-r--r--libcxxabi/test/thread_local_destruction_order.pass.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/libcxxabi/test/cxa_thread_atexit_test.pass.cpp b/libcxxabi/test/cxa_thread_atexit_test.pass.cpp
index 16186e361df4..d641591697b3 100644
--- a/libcxxabi/test/cxa_thread_atexit_test.pass.cpp
+++ b/libcxxabi/test/cxa_thread_atexit_test.pass.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: no-threads
// REQUIRES: linux
#include <assert.h>
diff --git a/libcxxabi/test/forced_unwind3.pass.cpp b/libcxxabi/test/forced_unwind3.pass.cpp
index 3468813a7dfd..50f7139428fc 100644
--- a/libcxxabi/test/forced_unwind3.pass.cpp
+++ b/libcxxabi/test/forced_unwind3.pass.cpp
@@ -10,7 +10,7 @@
// what pthread_cancel does.
// UNSUPPORTED: c++03
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: no-threads
// UNSUPPORTED: no-exceptions
#include <assert.h>
diff --git a/libcxxabi/test/guard_threaded_test.pass.cpp b/libcxxabi/test/guard_threaded_test.pass.cpp
index fc94dd970a11..78dafba7f7ec 100644
--- a/libcxxabi/test/guard_threaded_test.pass.cpp
+++ b/libcxxabi/test/guard_threaded_test.pass.cpp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: no-threads
// UNSUPPORTED: no-exceptions
#define TESTING_CXA_GUARD
diff --git a/libcxxabi/test/libcxxabi/test/config.py b/libcxxabi/test/libcxxabi/test/config.py
index be93f153c753..4adc566c9edb 100644
--- a/libcxxabi/test/libcxxabi/test/config.py
+++ b/libcxxabi/test/libcxxabi/test/config.py
@@ -50,7 +50,7 @@ class Configuration(LibcxxConfiguration):
self.cxx.compile_flags += ['-funwind-tables']
if not self.get_lit_bool('enable_threads', True):
self.cxx.compile_flags += ['-D_LIBCXXABI_HAS_NO_THREADS']
- self.config.available_features.add('libcpp-has-no-threads')
+ self.config.available_features.add('no-threads')
super(Configuration, self).configure_compile_flags()
def configure_compile_flags_header_includes(self):
diff --git a/libcxxabi/test/test_fallback_malloc.pass.cpp b/libcxxabi/test/test_fallback_malloc.pass.cpp
index 55713d2520de..5f429ef0e3ef 100644
--- a/libcxxabi/test/test_fallback_malloc.pass.cpp
+++ b/libcxxabi/test/test_fallback_malloc.pass.cpp
@@ -11,7 +11,7 @@
#include <__threading_support>
-// UNSUPPORTED: modules-build && libcpp-has-no-threads
+// UNSUPPORTED: modules-build && no-threads
// Necessary because we include a private source file of libc++abi, which
// only understands _LIBCXXABI_HAS_NO_THREADS.
diff --git a/libcxxabi/test/thread_local_destruction_order.pass.cpp b/libcxxabi/test/thread_local_destruction_order.pass.cpp
index 765cd7cc8a23..e25636001a34 100644
--- a/libcxxabi/test/thread_local_destruction_order.pass.cpp
+++ b/libcxxabi/test/thread_local_destruction_order.pass.cpp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: no-threads
#include <cassert>
#include <thread>