aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-07-14 02:14:29 +0000
committerAndi Kleen <ak@gcc.gnu.org>2016-07-14 02:14:29 +0000
commitae145898a74f7a1f6e39e0d31d631a03a11b25ea (patch)
tree5c8ab3f6b6ccfe2fae1305dbd18476a35116da25 /gcc
parente97bd4f5408964f3bd16b57e0369916683d5e8cd (diff)
downloadgcc-ae145898a74f7a1f6e39e0d31d631a03a11b25ea.zip
gcc-ae145898a74f7a1f6e39e0d31d631a03a11b25ea.tar.gz
gcc-ae145898a74f7a1f6e39e0d31d631a03a11b25ea.tar.bz2
Always print gcc-auto-profile line in dump file
not just when verbose. This ensures all command lines needed to reproduce the test case are always logged gcc/testsuite/: 2016-07-13 Andi Kleen <ak@linux.intel.com> * lib/profopt.exp (profopt-execute): Always log profiler command line. From-SVN: r238323
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/profopt.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8714756..004d2c5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2016-07-13 Andi Kleen <ak@linux.intel.com>
+ * lib/profopt.exp (profopt-execute): Always log profiler
+ command line.
+
+2016-07-13 Andi Kleen <ak@linux.intel.com>
+
* lib/profopt.exp (dg-final-scan-autofdo,
dg-final-scan-not-autofdo): New functions.
diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index 3cce2ee..6966d04 100644
--- a/gcc/testsuite/lib/profopt.exp
+++ b/gcc/testsuite/lib/profopt.exp
@@ -417,7 +417,7 @@ proc profopt-execute { src } {
}
set orig_ld_library_path "[getenv LD_LIBRARY_PATH]"
setenv LD_LIBRARY_PATH "$ld_library_path:$orig_ld_library_path"
- verbose "Running $profile_wrapper $execname1"
+ verbose -log "Running $profile_wrapper $execname1"
set id [remote_spawn "" "$profile_wrapper $execname1" "readonly"]
setenv LD_LIBRARY_PATH $orig_ld_library_path
if { $id < 0 } {