forked from OSchip/llvm-project
Mark test as unsupported without threads
llvm-svn: 284217
This commit is contained in:
parent
9a7c3e56fd
commit
ccc6502abc
|
@ -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):
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: libcxxabi-no-threads
|
||||
|
||||
#include <cassert>
|
||||
#include <thread>
|
||||
|
|
Loading…
Reference in New Issue