[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
NOKEYCHECK=True
GitOrigin-RevId: a7f9895cc18995549c7facb96e72718da282a864
diff --git a/test/cxa_thread_atexit_test.pass.cpp b/test/cxa_thread_atexit_test.pass.cpp
index 16186e3..d641591 100644
--- a/test/cxa_thread_atexit_test.pass.cpp
+++ b/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/test/forced_unwind3.pass.cpp b/test/forced_unwind3.pass.cpp
index 3468813..50f7139 100644
--- a/test/forced_unwind3.pass.cpp
+++ b/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/test/guard_threaded_test.pass.cpp b/test/guard_threaded_test.pass.cpp
index fc94dd9..78dafba 100644
--- a/test/guard_threaded_test.pass.cpp
+++ b/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/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py
index be93f15..4adc566 100644
--- a/test/libcxxabi/test/config.py
+++ b/test/libcxxabi/test/config.py
@@ -50,7 +50,7 @@
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/test/test_fallback_malloc.pass.cpp b/test/test_fallback_malloc.pass.cpp
index 55713d2..5f429ef 100644
--- a/test/test_fallback_malloc.pass.cpp
+++ b/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/test/thread_local_destruction_order.pass.cpp b/test/thread_local_destruction_order.pass.cpp
index 765cd7c..e256360 100644
--- a/test/thread_local_destruction_order.pass.cpp
+++ b/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>