aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-07-14 02:14:43 +0000
committerAndi Kleen <ak@gcc.gnu.org>2016-07-14 02:14:43 +0000
commitf4d5a23df819ce72740971e0cc301396691da954 (patch)
tree86bfc77b6200871217db3d8aecded2fb8b6b0eb7 /gcc
parentae145898a74f7a1f6e39e0d31d631a03a11b25ea (diff)
downloadgcc-f4d5a23df819ce72740971e0cc301396691da954.zip
gcc-f4d5a23df819ce72740971e0cc301396691da954.tar.gz
gcc-f4d5a23df819ce72740971e0cc301396691da954.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/profopt.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 004d2c5..60c7a9d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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
command line.
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" } {