This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2/test harness.sh


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall@sourceware.org	2008-11-04 14:37:52

Modified files:
	test           : harness.sh 

Log message:
	Also report the tests that have been skipped, at the end of harness.sh.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/harness.sh.diff?cvsroot=lvm2&r1=1.4&r2=1.5

--- LVM2/test/harness.sh	2008/10/06 16:55:29	1.4
+++ LVM2/test/harness.sh	2008/11/04 14:37:51	1.5
@@ -10,6 +10,7 @@
     if test $ret = 0; then
 	echo " passed."
     elif test $ret = 200; then
+        skipped="$skipped $t"
 	echo " skipped."
     else
 	echo " FAILED!"
@@ -25,6 +26,10 @@
 done
 
 if test -n "$failed"; then
+    echo "Tests skipped:"
+    for t in $skipped; do
+	printf "\t%s\n" $t
+    done
     echo "TESTS FAILED:"
     for t in $failed; do
 	printf "\t%s\n" $t


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]