Commit 70f6380d by Tom de Vries Committed by Tom de Vries

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
parent 197bd30f
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment