Skip tests that depend on the cxx11 std::string
authorJonathan Wakely <jwakely@redhat.com>
Thu, 23 Aug 2018 08:26:16 +0000 (09:26 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 23 Aug 2018 08:26:16 +0000 (09:26 +0100)
* testsuite/21_strings/basic_string/init-list.cc:
Require cxx11-abi.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc:
Likewise.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc:
Likewise.

From-SVN: r263800

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc

index afa928b..5c7cbdb 100644 (file)
@@ -1,5 +1,12 @@
 2018-08-23  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/21_strings/basic_string/init-list.cc:
+       Require cxx11-abi.
+       * testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc:
+       Likewise.
+       * testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc:
+       Likewise.
+
        * testsuite/23_containers/deque/capacity/max_size.cc: Fix test for
        C++98 mode.
        * testsuite/23_containers/deque/modifiers/assign/1.cc: Likewise.
index aa77548..20a392c 100644 (file)
@@ -17,6 +17,7 @@
 //
 
 // { dg-do run { target c++11 } }
+// { dg-require-effective-target cxx11-abi }
 
 #include <testsuite_hooks.h>
 
index c237f1e..8f5f851 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile { target c++14 } }
+// { dg-require-effective-target cxx11-abi }
 
 #include <experimental/regex>
 
index 3cf8c94..ed53ce1 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile { target c++14 } }
+// { dg-require-effective-target cxx11-abi }
 
 #include <experimental/string>