]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
Make autofdo tests safer for parallel builds
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Aug 2016 02:47:25 +0000 (02:47 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Aug 2016 02:47:25 +0000 (02:47 +0000)
commitd002933309de75719413232d6bef298dbd7e08e7
treede7e2c2beef084535f68f160a0ce7d32c2b15294
parent2faf01e616eb4c580480d46f74b2fe4d4cf7550b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239265 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/lib/profopt.exp