summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/libcxxabi/test/config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py
index 5349338..762cd96 100644
--- a/test/libcxxabi/test/config.py
+++ b/test/libcxxabi/test/config.py
@@ -52,7 +52,11 @@ class Configuration(LibcxxConfiguration):
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()
+ # FIXME: Fix the unwind_* tests that test dynamic exception
+ # specifications so they work in C++17 (or always test in C++14).
+ # Suppressing this warning is a temporary workaround.
+ self.cxx.addWarningFlagIfSupported('-Wno-dynamic-exception-spec')
+ super(Configuration, self).configure_compile_flags()
def configure_compile_flags_header_includes(self):
self.configure_config_site_header()