From 750002e0eeca91d05575f5b74f9af340f9e3a07d Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 15 Oct 2015 15:15:37 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/lib/libstdc++.exp | 5 +++++ 2 files changed, 10 insertions(+) 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] } -- 2.30.2