run a few tests
This commit is contained in:
parent
7cb660c8c7
commit
13cb77496d
33
funcs/alltests.sh
Executable file
33
funcs/alltests.sh
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# trying to run a maximum of ugly code
|
||||
#
|
||||
|
||||
for trial in $(./t -l)
|
||||
do
|
||||
|
||||
printf "============ %-10s ============\n" $trial
|
||||
|
||||
make t
|
||||
error=$?
|
||||
if [ 0 -ne $error ]
|
||||
then
|
||||
echo "make error is " $error
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
./t -v $trial
|
||||
error=$?
|
||||
if [ 0 -ne $error ]
|
||||
then
|
||||
echo "run error is " $error
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf "\t=== return code %d\n" $error
|
||||
echo
|
||||
sleep 10
|
||||
|
||||
done
|
Loading…
Reference in New Issue
Block a user