Hi,

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.


I'd like this to go in now during stage-4 in order to have slightly less noisy 4.9 regression tests for the next n years.

OK?

Cheers
/Marcus


testsuite/ChangeLog

2014-03-12  Marcus Shawcroft  <marcus.shawcr...@arm.com>

        * lib/profopt.exp (profopt-execute): Use $testcase in
        unsupported.
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
-- 
1.7.9.5

Reply via email to