diff mbox

[5/6] Clean up imports files in test suite

Message ID 20160627015024.23444-6-andi@firstfloor.org
State New
Headers show

Commit Message

Andi Kleen June 27, 2016, 1:50 a.m. UTC
From: Andi Kleen <ak@linux.intel.com>

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

gcc/testsuite/:

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

	* lib/profopt.exp (profopt-execute): Remove .imports files.
---
 gcc/testsuite/lib/profopt.exp | 1 +
 1 file changed, 1 insertion(+)

Comments

Jeff Law July 13, 2016, 9:32 p.m. UTC | #1
On 06/26/2016 07:50 PM, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> autofdo create_gcov creates an extra .imports file. Always remove that
> too when running an autofdo test case.
>
> gcc/testsuite/:
>
> * 2016-06-26  Andi Kleen  <ak@linux.intel.com>
>
> 	* lib/profopt.exp (profopt-execute): Remove .imports files.
OK.
jeff
diff mbox

Patch

diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index 6966d04..7e45dd44 100644
--- a/gcc/testsuite/lib/profopt.exp
+++ b/gcc/testsuite/lib/profopt.exp
@@ -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" } {