]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
Make autofdo tests safer for parallel builds
authorAndi Kleen <ak@linux.intel.com>
Tue, 9 Aug 2016 02:47:25 +0000 (02:47 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Tue, 9 Aug 2016 02:47:25 +0000 (02:47 +0000)
commitc43c51121622bf2c488df6b57196de11a56e7671
treede7e2c2beef084535f68f160a0ce7d32c2b15294
parent5e1a1c978f8e12b333979c93be32b7f92a0be1b7
Make autofdo tests safer for parallel builds

There were some reports that the autofdo tests are non deterministic
with parallel builds. I wasn't able to reproduce this, but here are
two changes that may help:

- Always use unique file names for temporary files.
- Don't print file names in the test log because the directories
can vary (suggested by Jeff Law)

gcc/testsuite/:

2016-08-08  Andi Kleen  <ak@linux.intel.com>

* lib/profopt.exp: (auto-profopt-execute): Don't include full
test command line in failure log.
(profopt-execute): dito. Make autofdo file names unique.

From-SVN: r239265
gcc/testsuite/ChangeLog
gcc/testsuite/lib/profopt.exp