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 afa928b0fea42e4a18ca14c7886e96560cdeb59a..5c7cbdbcaa1b8ee6eb9c3fb70cd23a382dcfa289 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 aa7754821b9f127a8d3f9f28c1a124d5e65dfe1d..20a392c40fc736424d0ca499079818f122dde183 100644 (file)
@@ -17,6 +17,7 @@
 //
 
 // { dg-do run { target c++11 } }
+// { dg-require-effective-target cxx11-abi }
 
 #include <testsuite_hooks.h>
 
index c237f1e9de9979a8192177bb866b2ed45e6bf9b1..8f5f8513403d591b5917c803b110ba174b9553a1 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 3cf8c94cfb11bda47a433f9611145cf3535305e1..ed53ce1a89b2d182c7fe9e43f9c033cb0699b3b2 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>