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

Jonathan Wakely jwakely@redhat.com
Thu Aug 23 10:52:00 GMT 2018


On 23/08/18 10:03 +0100, Jonathan Wakely wrote:
>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.

Like so.

Tested x86_64-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 8832 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180823/9db1593b/attachment.bin>


More information about the Gcc-patches mailing list