From: Andi Kleen Date: Thu, 14 Jul 2016 02:14:43 +0000 (+0000) Subject: Clean up imports files in test suite X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4d5a23df819ce72740971e0cc301396691da954;p=gcc.git 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 * lib/profopt.exp (profopt-execute): Remove .imports files. From-SVN: r238324 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 004d2c55f9e..60c7a9d442f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-07-13 Andi Kleen + + * lib/profopt.exp (profopt-execute): Remove .imports files. + 2016-07-13 Andi Kleen * lib/profopt.exp (profopt-execute): Always log profiler diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp index 6966d04d30d..7e45dd44864 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" } {