aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2015-10-15 15:15:37 +0000
committerSzabolcs Nagy <nsz@gcc.gnu.org>2015-10-15 15:15:37 +0000
commit750002e0eeca91d05575f5b74f9af340f9e3a07d (patch)
treea1bd1cbf33fe2b6fa39e4a07c078bdc97479a152
parent261e8f066b95ebc02530df8b78be14f911c73406 (diff)
downloadgcc-750002e0eeca91d05575f5b74f9af340f9e3a07d.zip
gcc-750002e0eeca91d05575f5b74f9af340f9e3a07d.tar.gz
gcc-750002e0eeca91d05575f5b74f9af340f9e3a07d.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp5
2 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ff0b048..6f86466 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Check for
+ unsupported compiler output.
+
2015-10-13 Nathan Froyd <froydnj@gcc.gnu.org>
* 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 88738b7..769ac94 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]
}