aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/test-suite
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-04-05 23:26:21 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-05-15 18:37:12 +0200
commit066530c943353945697a319982914f034ef35aac (patch)
tree63374a1c502e48a61ed0e1352f15978c1cc451ba /validation/test-suite
parente35efe330c6ae7d154197c29b127560d569016d0 (diff)
downloadsparse-dev-066530c943353945697a319982914f034ef35aac.tar.gz
testsuite: cleanup result files
When a test succeed, remove all temporary/result files but leave them for failed tests. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/test-suite')
-rwxr-xr-xvalidation/test-suite1
1 files changed, 1 insertions, 0 deletions
diff --git a/validation/test-suite b/validation/test-suite
index a5f5e25e..904a2dbb 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -270,6 +270,7 @@ do_test()
ko_tests=`expr $ko_tests + 1`
else
ok_tests=`expr $ok_tests + 1`
+ rm -f $file.{error,output}.{expected,got,diff}
fi
return $test_failed
}