Clean up imports files in test suite

autofdo create_gcov creates an extra .imports file. Always remove that
too when running an autofdo test case.

gcc/testsuite/:

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

	* lib/profopt.exp (profopt-execute): Remove .imports files.

From-SVN: r238324
This commit is contained in:
Andi Kleen 2016-07-14 02:14:43 +00:00 committed by Andi Kleen
parent ae145898a7
commit f4d5a23df8
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-07-13 Andi Kleen <ak@linux.intel.com>
* lib/profopt.exp (profopt-execute): Remove .imports files.
2016-07-13 Andi Kleen <ak@linux.intel.com>
* lib/profopt.exp (profopt-execute): Always log profiler

View File

@ -518,6 +518,7 @@ proc profopt-execute { src } {
foreach ext $prof_ext {
profopt-target-cleanup $tmpdir $base $ext
profopt-target-cleanup $tmpdir perf data
profopt-target-cleanup $tmpdir $base "gcda.imports"
}
if { $status != "pass" } {