|
From: Nicholas N. <nj...@ca...> - 2004-03-01 08:31:51
|
CVS commit by nethercote:
Make vg_regtest return 1 if any tests fail. Useful for scripts that call it.
M +6 -0 vg_regtest.in 1.20
--- valgrind/tests/vg_regtest.in #1.19:1.20
@@ -385,4 +385,10 @@
summarise_results();
+if (0 == $num_failures{"stdout"} && 0 == $num_failures{"stderr"}) {
+ exit 0;
+} else {
+ exit 1;
+}
+
##--------------------------------------------------------------------##
##--- end vg_regtest ---##
|