[libcxxabi] r284217 - Mark test as unsupported without threads
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 14 02:12:53 PDT 2016
Author: ericwf
Date: Fri Oct 14 04:12:53 2016
New Revision: 284217
URL: http://llvm.org/viewvc/llvm-project?rev=284217&view=rev
Log:
Mark test as unsupported without threads
Modified:
libcxxabi/trunk/test/libcxxabi/test/config.py
libcxxabi/trunk/test/thread_local_destruction_order.pass.cpp
Modified: libcxxabi/trunk/test/libcxxabi/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/libcxxabi/test/config.py?rev=284217&r1=284216&r2=284217&view=diff
==============================================================================
--- libcxxabi/trunk/test/libcxxabi/test/config.py (original)
+++ libcxxabi/trunk/test/libcxxabi/test/config.py Fri Oct 14 04:12:53 2016
@@ -46,6 +46,7 @@ class Configuration(LibcxxConfiguration)
self.cxx.compile_flags += ['-fno-exceptions', '-DLIBCXXABI_HAS_NO_EXCEPTIONS']
if not self.get_lit_bool('enable_threads', True):
self.cxx.compile_flags += ['-D_LIBCXXABI_HAS_NO_THREADS']
+ self.config.available_features.add('libcxxabi-no-threads')
super(Configuration, self).configure_compile_flags()
def configure_compile_flags_header_includes(self):
Modified: libcxxabi/trunk/test/thread_local_destruction_order.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/thread_local_destruction_order.pass.cpp?rev=284217&r1=284216&r2=284217&view=diff
==============================================================================
--- libcxxabi/trunk/test/thread_local_destruction_order.pass.cpp (original)
+++ libcxxabi/trunk/test/thread_local_destruction_order.pass.cpp Fri Oct 14 04:12:53 2016
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
+// UNSUPPORTED: libcxxabi-no-threads
#include <cassert>
#include <thread>
More information about the cfe-commits
mailing list