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 153da28..e604877 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 0ea8e7a..93bb23c 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
                }