mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-08-03 09:47:05 -04:00

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
30 lines
506 B
Bash
Executable File
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
|
|
|