[Pkg-shadow-commits] r836 - trunk/tests

Nicolas FRANCOIS nekral-guest at costa.debian.org
Sat Feb 4 20:57:26 UTC 2006


Author: nekral-guest
Date: 2006-02-04 20:57:26 +0000 (Sat, 04 Feb 2006)
New Revision: 836

Modified:
   trunk/tests/run_all
Log:
This should help to identify the failing tests.


Modified: trunk/tests/run_all
===================================================================
--- trunk/tests/run_all	2006-02-04 17:50:53 UTC (rev 835)
+++ trunk/tests/run_all	2006-02-04 20:57:26 UTC (rev 836)
@@ -4,6 +4,7 @@
 
 succeded=0
 failed=0
+failed_tests=""
 
 run_test()
 {
@@ -12,6 +13,7 @@
 		succeded=$((succeded+1))
 	else
 		failed=$((failed+1))
+		failed_tests="$failed_tests $1"
 	fi
 }
 
@@ -28,3 +30,8 @@
 echo "$succeded test(s) passed"
 echo "$failed test(s) failed"
 echo "log written in 'testsuite.log'"
+if [ "$failed" != "0" ]
+then
+	echo "the following tests failed:"
+	echo $failed_tests
+fi




More information about the Pkg-shadow-commits mailing list