Commit 3d05d0c0 by Marcus Shawcroft Committed by Marcus Shawcroft

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
parent bf4787b2
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment