aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2014-03-12 14:55:54 +0000
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>2014-03-12 14:55:54 +0000
commit3d05d0c0fac86b9b1f04982172f77577da4ce118 (patch)
tree03e11de97f40c9fe38ab21951e70219633f435db
parentbf4787b26777cad2bf7ed499248a350387366d9f (diff)
downloadgcc-3d05d0c0fac86b9b1f04982172f77577da4ce118.zip
gcc-3d05d0c0fac86b9b1f04982172f77577da4ce118.tar.gz
gcc-3d05d0c0fac86b9b1f04982172f77577da4ce118.tar.bz2
Ensure UNSUPPORTED tests in tree-prof do not report absolute paths.
The test infrastructure for gcc.dg/tree-prof reports relative paths for all test outcomes except UNSUPPORTED, for which it reports the absolute path of the test case. This patch ensure a relative path is reported consistently reducing noise in regression test comparisons. From-SVN: r208514
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/profopt.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5f1297e..6fa6c67 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-12 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * lib/profopt.exp (profopt-execute): Use $testcase in
+ unsupported.
+
2014-03-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tree-ssa/ssa-ifcombine-12.c: New test.
diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index e0d849e..cb6a350 100644
--- a/gcc/testsuite/lib/profopt.exp
+++ b/gcc/testsuite/lib/profopt.exp
@@ -277,7 +277,7 @@ proc profopt-execute { src } {
set dg-do-what [list "run" "" P]
set extra_flags [profopt-get-options $src]
if { [lindex ${dg-do-what} 1 ] == "N" } {
- unsupported "$src"
+ unsupported "$testcase"
unset testname_with_flags
verbose "$src not supported on this target, skipping it" 3
return