mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-10 04:41:57 -04:00
Exit with exit status 1 if a test fails (required by runtests.sh)
This commit is contained in:
parent
17f112d4c2
commit
0363ecf25d
@ -7,7 +7,7 @@ if [ "$1" == "" ]
|
||||
then
|
||||
echo "USAGE: testCheck.sh <test num>"
|
||||
else
|
||||
cmd="test$1.sh"
|
||||
cmd="./test$1.sh"
|
||||
out="test$1.out"
|
||||
$cmd
|
||||
if cmp -s tmp.out $out
|
||||
@ -30,5 +30,6 @@ else
|
||||
echo
|
||||
diff tmp.out $out
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user