[PATCH] Ensure UNSUPPORTED tests in tree-prof do not report absolute, paths.

Jakub Jelinek jakub@redhat.com
Wed Mar 12 14:51:00 GMT 2014


On Wed, Mar 12, 2014 at 02:39:15PM +0000, Marcus Shawcroft wrote:
> 2014-03-12  Marcus Shawcroft  <marcus.shawcroft@arm.com>
> 
>         * lib/profopt.exp (profopt-execute): Use $testcase in
>         unsupported.

Ok, thanks.

> --- 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

	Jakub



More information about the Gcc-patches mailing list