From 75224273c35ab421e0e7d93de387a00414c28050 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 23 Aug 2018 09:26:16 +0100 Subject: [PATCH] Skip tests that depend on the cxx11 std::string * 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 | 7 +++++++ .../testsuite/21_strings/basic_string/init-list.cc | 1 + .../polymorphic_allocator/pmr_typedefs_match.cc | 1 + .../polymorphic_allocator/pmr_typedefs_string.cc | 1 + 4 files changed, 10 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index afa928b0fea..5c7cbdbcaa1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,12 @@ 2018-08-23 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc b/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc index aa7754821b9..20a392c40fc 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc @@ -17,6 +17,7 @@ // // { dg-do run { target c++11 } } +// { dg-require-effective-target cxx11-abi } #include diff --git a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc index c237f1e9de9..8f5f8513403 100644 --- a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc +++ b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc @@ -16,6 +16,7 @@ // . // { dg-do compile { target c++14 } } +// { dg-require-effective-target cxx11-abi } #include diff --git a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc index 3cf8c94cfb1..ed53ce1a89b 100644 --- a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc +++ b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc @@ -16,6 +16,7 @@ // . // { dg-do compile { target c++14 } } +// { dg-require-effective-target cxx11-abi } #include -- 2.30.2