[PATCH] Print relative names in UNSUPPORTED AutoFDO tests

Mike Stump mikestump@comcast.net
Mon Jul 10 21:57:00 GMT 2017


On Jul 9, 2017, at 12:00 PM, Yuri Gribov <tetra2005@gmail.com> wrote:
> 
> This patch fixes AutoFDO Dejagnu tests to print relative filenames
> instead of absolute ones when AutoFDO is unsupported. This is to
> prevent spurious differences in dg-cmp-results.sh, like this:
>  NA->UNSUPPORTED:
> /home/yugr/src/gcc-57371/gcc/testsuite/g++.dg/bprob/g++-bprob-1.C
> -fauto-profile
>  UNSUPPORTED->NA:
> /home/yugr/src/gcc/gcc/testsuite/g++.dg/bprob/g++-bprob-1.C
> -fauto-profile
> 
> Ok for trunk?

Ok.

Seeing the change in test case name would be useful.  It should have g++.dg/bprob/g++-bprob-1.C in the name, not just g++-bprob-1.C.


More information about the Gcc-patches mailing list