summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/profopt.exp
diff options
context:
space:
mode:
authormshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-12 14:55:54 +0000
committermshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-12 14:55:54 +0000
commit1e9f23447f78b6774e09b3806c5b9f4fb2bfd9ee (patch)
tree03e11de97f40c9fe38ab21951e70219633f435db /gcc/testsuite/lib/profopt.exp
parent9202fd6a8bc74cc6b4277ef092e98bbb018b8b04 (diff)
downloadgcc-1e9f23447f78b6774e09b3806c5b9f4fb2bfd9ee.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/profopt.exp')
-rw-r--r--gcc/testsuite/lib/profopt.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index e0d849ef03e..cb6a350dd1b 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