[PATCH] Skip tests that depend on the cxx11 std::string

Jonathan Wakely jwakely@redhat.com
Thu Aug 23 09:08:00 GMT 2018


On 23/08/18 09:24 +0100, Jonathan Wakely wrote:
>--- 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 }

Actually I shouldn't have added it here. It only depends on the new
string when compiled with _GLIBCXX_DEBUG, and that should be fixed in
__gnu_debug::string not by skipping the test.




More information about the Libstdc++ mailing list