* [PATCH] testsuite: cleanup result files
@ 2017-04-05 21:30 Luc Van Oostenryck
0 siblings, 0 replies; only message in thread
From: Luc Van Oostenryck @ 2017-04-05 21:30 UTC (permalink / raw)
To: linux-sparse; +Cc: Christopher Li, Luc Van Oostenryck
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>
---
validation/test-suite | 1 +
1 file changed, 1 insertion(+)
diff --git a/validation/test-suite b/validation/test-suite
index a5f5e25e2..904a2dbbd 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
}
--
2.12.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-05 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 21:30 [PATCH] testsuite: cleanup result files Luc Van Oostenryck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.