mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-10 12:49:08 -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
|
then
|
||||||
echo "USAGE: testCheck.sh <test num>"
|
echo "USAGE: testCheck.sh <test num>"
|
||||||
else
|
else
|
||||||
cmd="test$1.sh"
|
cmd="./test$1.sh"
|
||||||
out="test$1.out"
|
out="test$1.out"
|
||||||
$cmd
|
$cmd
|
||||||
if cmp -s tmp.out $out
|
if cmp -s tmp.out $out
|
||||||
@ -30,5 +30,6 @@ else
|
|||||||
echo
|
echo
|
||||||
diff tmp.out $out
|
diff tmp.out $out
|
||||||
echo
|
echo
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user