profopt.exp: Print relative names in UNSUPPORTED AutoFDO tests.
authorYury Gribov <tetra2005@gmail.com>
Tue, 11 Jul 2017 12:23:58 +0000 (12:23 +0000)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Tue, 11 Jul 2017 12:23:58 +0000 (15:23 +0300)
2017-07-11  Yury Gribov  <tetra2005@gmail.com>

* lib/profopt.exp: Print relative names in UNSUPPORTED
AutoFDO tests.

From-SVN: r250128

gcc/testsuite/ChangeLog
gcc/testsuite/lib/profopt.exp

index 153da28e014114bd397d4e9556301c32c5fb1b9c..e604877b9145370c1b079d6e64f892dea8b0e227 100644 (file)
@@ -1,3 +1,8 @@
+2017-07-11  Yury Gribov  <tetra2005@gmail.com>
+
+       * lib/profopt.exp: Print relative names in UNSUPPORTED
+       AutoFDO tests.
+
 2017-07-10  Michael Collison <michael.collison@arm.com>
 
        * gcc.target/aarch64/var_shift_mask_1.c: Fix for ILP32
index 0ea8e7a048edea3713f865349ecf20963ab61838..93bb23ce93fd2d3e930e0a82ce35c80b27dd2fb2 100644 (file)
@@ -285,7 +285,7 @@ proc auto-profopt-execute { src } {
 
     if { ! [check_profiling_available "-fauto-profile"] } {
         regsub "(?q)$srcdir/" $src "" testcase
-        unsupported "$src -fauto-profile"
+        unsupported "$testcase -fauto-profile"
         return
     }
     set profile_wrapper [profopt-perf-wrapper]
@@ -451,7 +451,7 @@ proc profopt-execute { src } {
                verbose "Running $cmd"
                set id [remote_spawn "" $cmd]
                if { $id < 0 } {
-                   unsupported "$src -fauto-profile: cannot run create_gcov"
+                   unsupported "$testcase -fauto-profile: cannot run create_gcov"
                    set status "fail"
                    return
                }