Message ID | 54EF3711.9080500@mentor.com |
---|---|
State | New |
Headers | show |
On Feb 26, 2015, at 7:09 AM, Tom de Vries <Tom_deVries@mentor.com> wrote: > This patch adds cleaning up of uninteresting leftover coverage files in case of xfail, f.i. for gcc.misc-tests/gcov-13.c. > > OK for stage4 trunk? Ok.
2015-02-26 Tom de Vries <tom@codesourcery.com> * lib/gcov.exp: Cleanup in case of xfail. --- gcc/testsuite/lib/gcov.exp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/testsuite/lib/gcov.exp b/gcc/testsuite/lib/gcov.exp index 6273ffa..229a396 100644 --- a/gcc/testsuite/lib/gcov.exp +++ b/gcc/testsuite/lib/gcov.exp @@ -391,6 +391,9 @@ proc run-gcov { args } { } if { $tfailed > 0 } { fail "$testname gcov: $lfailed failures in line counts, $bfailed in branch percentages, $cfailed in return percentages, $ifailed in intermediate format" + if { $xfailed } { + clean-gcov $testcase + } } else { pass "$testname gcov" clean-gcov $testcase -- 1.9.1