Skip to contentSkip to conversation

LVM2/test harness.sh

PATCH [email protected] 1 participant 1 message Nov 4, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at 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

test/harness.sh +5 -0
@@ -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