Add missing cleanup in run-gcov

2015-02-26  Tom de Vries  <tom@codesourcery.com>

	* lib/gcov.exp: Cleanup in case of xfail.

From-SVN: r221023
This commit is contained in:
Tom de Vries 2015-02-26 18:24:44 +00:00 committed by Tom de Vries
parent 197bd30ff3
commit 70f6380da6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-02-26 Tom de Vries <tom@codesourcery.com>
* lib/gcov.exp: Cleanup in case of xfail.
2015-02-26 Sebastian Pop <s.pop@samsung.com>
* gcc.dg/tree-ssa/ssa-dom-thread-9.c: Fix warning due to missing type.

View File

@ -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