diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-01-16 15:28:03 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-01-16 15:28:03 +0000 |
commit | 7769ea25e4dc05094a74cb77cf83b9e5dc90491a (patch) | |
tree | 9cda29c3040a0d2f03d5ca7860706a4a1bc35212 /test | |
parent | ed6110245ac6f3ee19361dba7b673b0001ef25dd (diff) |
Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/libcxxabi/test/config.py | 4 | ||||
-rw-r--r-- | test/unwind_02.pass.cpp | 1 | ||||
-rw-r--r-- | test/unwind_03.pass.cpp | 1 | ||||
-rw-r--r-- | test/unwind_04.pass.cpp | 1 | ||||
-rw-r--r-- | test/unwind_05.pass.cpp | 1 |
5 files changed, 4 insertions, 4 deletions
diff --git a/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py index ac37665..e219961 100644 --- a/test/libcxxabi/test/config.py +++ b/test/libcxxabi/test/config.py @@ -55,10 +55,6 @@ 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') - # 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): diff --git a/test/unwind_02.pass.cpp b/test/unwind_02.pass.cpp index fbcc232..8b10807 100644 --- a/test/unwind_02.pass.cpp +++ b/test/unwind_02.pass.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: libcxxabi-no-exceptions +// REQUIRES-ANY: c++98, c++03, c++11, c++14 #include <assert.h> diff --git a/test/unwind_03.pass.cpp b/test/unwind_03.pass.cpp index abefe7b..3d0bdf6 100644 --- a/test/unwind_03.pass.cpp +++ b/test/unwind_03.pass.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: libcxxabi-no-exceptions +// REQUIRES-ANY: c++98, c++03, c++11, c++14 #include <exception> #include <stdlib.h> diff --git a/test/unwind_04.pass.cpp b/test/unwind_04.pass.cpp index 4a44341..3046267 100644 --- a/test/unwind_04.pass.cpp +++ b/test/unwind_04.pass.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: libcxxabi-no-exceptions +// REQUIRES-ANY: c++98, c++03, c++11, c++14 #include <exception> #include <stdlib.h> diff --git a/test/unwind_05.pass.cpp b/test/unwind_05.pass.cpp index df1e429..998291a 100644 --- a/test/unwind_05.pass.cpp +++ b/test/unwind_05.pass.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: libcxxabi-no-exceptions +// REQUIRES-ANY: c++98, c++03, c++11, c++14 #include <exception> #include <stdlib.h> |