From: Andi Kleen <a...@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  <a...@linux.intel.com>

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

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" } {
-- 
2.8.4

Reply via email to