Clean up imports files in test suite
authorAndi Kleen <ak@linux.intel.com>
Thu, 14 Jul 2016 02:14:43 +0000 (02:14 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Thu, 14 Jul 2016 02:14:43 +0000 (02:14 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/lib/profopt.exp

index 004d2c55f9e56c5fee902280acb0bcbaf80093cc..60c7a9d442f831bbdd91e756fae4a870a64745c2 100644 (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
index 6966d04d30d905c3110396edf227d2b621c6653d..7e45dd448642371668f69f31d384c01f021e3def 100644 (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" } {