[Pkg-shadow-commits] r1680 - debian/trunk/tests

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Jan 6 19:32:49 UTC 2008


Author: nekral-guest
Date: 2008-01-06 19:32:49 +0000 (Sun, 06 Jan 2008)
New Revision: 1680

Modified:
   debian/trunk/tests/run_all
Log:
Use one log file per test. This should ease the debugging.
The big testsuite.log is kept.


Modified: debian/trunk/tests/run_all
===================================================================
--- debian/trunk/tests/run_all	2008-01-06 19:31:28 UTC (rev 1679)
+++ debian/trunk/tests/run_all	2008-01-06 19:32:49 UTC (rev 1680)
@@ -12,13 +12,14 @@
 
 run_test()
 {
-	if $1 >> testsuite.log
+	if $1 > $1.log
 	then
 		succeded=$((succeded+1))
 	else
 		failed=$((failed+1))
 		failed_tests="$failed_tests $1"
 	fi
+	cat $1.log >> testsuite.log
 }
 
 > testsuite.log




More information about the Pkg-shadow-commits mailing list