From: Andi Kleen <a...@linux.intel.com>

not just when verbose. This ensures all command lines needed to
reproduce the test case are always logged

gcc/testsuite/:

* 2016-06-26  Andi Kleen  <a...@linux.intel.com>

        * lib/profopt.exp (profopt-execute): Always log profiler
        command line.
---
 gcc/testsuite/lib/profopt.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 } {
-- 
2.8.4

Reply via email to