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
This commit is contained in:
parent
bf4787b267
commit
3d05d0c0fa
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue