|
@@ -2,6 +2,7 @@
|
|
|
MAXRC=0
|
|
|
testOK=0
|
|
|
testFAILED=0
|
|
|
+testSKIPPED=0
|
|
|
testCOUNT=0
|
|
|
export PRINTFPATTERN='%-31s %s %-70s'
|
|
|
for test in t/*;
|
|
@@ -13,7 +14,10 @@ do
|
|
|
$test
|
|
|
RC=$?
|
|
|
printf "RC:=(%d) (%s)\n\n" $RC $test
|
|
|
- if test "$RC" -ne "0";
|
|
|
+ if test "$RC" -eq "99";
|
|
|
+ then
|
|
|
+ testSKIPPED=$(($testSKIPPED + 1))
|
|
|
+ elif test "$RC" -ne "0";
|
|
|
then
|
|
|
MAXRC="$RC"
|
|
|
testFAILED=$(($testFAILED + 1))
|
|
@@ -25,9 +29,9 @@ done
|
|
|
|
|
|
if test "$MAXRC" -eq "0";
|
|
|
then
|
|
|
- echo "All tests : OK:$testOK/$testCOUNT FAILED:$testFAILED/$testCOUNT [ OK ]"
|
|
|
+ echo "All tests : OK:$testOK/$testCOUNT FAILED:$testFAILED/$testCOUNT SKIPPED=$testSKIPPED/$testCOUNT [ OK ]"
|
|
|
else
|
|
|
- echo "All tests : OK:$testOK/$testCOUNT FAILED:$testFAILED/$testCOUNT [FAILED]"
|
|
|
+ echo "All tests : OK:$testOK/$testCOUNT FAILED:$testFAILED/$testCOUNT SKIPPED=$testSKIPPED/$testCOUNT [FAILED]"
|
|
|
fi
|
|
|
|
|
|
exit $MAXRC
|