TCLAP/tests/runtests.sh
Daniel Aarno 68fb0f35a2 Quick fix for ZshCompletionOutput test
The test was failing because elipsis changed from "..." to
"... ". This is a quick and dirty fix and should be cleaned up.

Also updated copyright notice

# Conflicts:
#	tests/test85.out
#	tests/test85.sh
2017-12-26 14:03:13 +01:00

30 lines
506 B
Bash
Executable File

#!/bin/bash
let "suc = 0"
let "fail = 0"
NUMTEST=79
for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do
./testCheck.sh $tno
if [ "$?" -eq "0" ]; then
echo "OK"
let "suc = $(($suc + 1))"
else
echo "FAIL"
let "fail = $(($fail + 1))"
fi
done
let "total = $(($suc + $fail))"
echo "======================"
echo "| TESTS DONE |"
echo "======================"
echo " TOTAL: $total"
echo " OK: $suc"
echo "FAILED: $fail"
if [ $fail -ne 0 ]; then
exit 1
fi