From: Szabolcs Nagy Date: Thu, 15 Oct 2015 15:15:37 +0000 (+0000) Subject: mark libstdc++ tests unsupported if they fail with "relocation truncated" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=750002e0eeca91d05575f5b74f9af340f9e3a07d;p=gcc.git mark libstdc++ tests unsupported if they fail with "relocation truncated" * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Check for unsupported compiler output. From-SVN: r228844 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ff0b048a444..6f86466490c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2015-10-15 Szabolcs Nagy + + * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Check for + unsupported compiler output. + 2015-10-13 Nathan Froyd * config/cpu/i486/opt/bits/opt_random.h: Include pmmintrin.h instead diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 88738b739f1..769ac9434b2 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -409,6 +409,11 @@ proc libstdc++-dg-test { prog do_what extra_tool_flags } { # and-target file), but the defaults are lacking in goodness. set comp_output [$select_compile "$prog" "$output_file" "$compile_type" $options]; + set unsupported_message [libstdc++_check_unsupported_p $comp_output] + if { $unsupported_message != "" } { + set comp_output "::unsupported::$unsupported_message" + } + return [list $comp_output $output_file] }