From 00c805e5d2db08a993a6c9ef5242f33058e8f646 Mon Sep 17 00:00:00 2001 From: redi Date: Thu, 23 Aug 2018 08:26:16 +0000 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263800 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 afa928b0fea4..5c7cbdbcaa1b 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 aa7754821b9f..20a392c40fc7 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 c237f1e9de99..8f5f8513403d 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 3cf8c94cfb11..ed53ce1a89b2 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.47.2