From: Andi Kleen Date: Thu, 14 Jul 2016 02:14:29 +0000 (+0000) Subject: Always print gcc-auto-profile line in dump file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae145898a74f7a1f6e39e0d31d631a03a11b25ea;p=gcc.git 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 * lib/profopt.exp (profopt-execute): Always log profiler command line. From-SVN: r238323 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 871475614c7..004d2c55f9e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-13 Andi Kleen + + * lib/profopt.exp (profopt-execute): Always log profiler + command line. + 2016-07-13 Andi Kleen * lib/profopt.exp (dg-final-scan-autofdo, diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp index 3cce2ee2ffb..6966d04d30d 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 } {