2016-10-31 21:05:57 +01:00
|
|
|
#!/bin/bash -e
|
2016-02-04 23:33:40 +01:00
|
|
|
|
2016-10-07 19:21:04 +02:00
|
|
|
LIST="
|
|
|
|
convert.bats
|
|
|
|
hf.bats
|
|
|
|
fci.bats
|
|
|
|
cassd.bats
|
2018-09-29 15:00:48 +02:00
|
|
|
mrcc.bats
|
2017-10-16 15:06:24 +02:00
|
|
|
pseudo.bats
|
2016-10-07 19:21:04 +02:00
|
|
|
"
|
2016-10-31 21:33:41 +01:00
|
|
|
#foboci.bats
|
2016-10-07 19:21:04 +02:00
|
|
|
|
|
|
|
|
2016-11-30 19:46:59 +01:00
|
|
|
export QP_PREFIX="timeout -s 9 600"
|
2016-11-14 19:19:00 +01:00
|
|
|
#export QP_TASK_DEBUG=1
|
2016-02-19 00:20:28 +01:00
|
|
|
|
|
|
|
rm -rf work output
|
|
|
|
|
2016-10-07 19:21:04 +02:00
|
|
|
|
|
|
|
for BATS_FILE in $LIST
|
|
|
|
do
|
|
|
|
echo
|
|
|
|
echo "-~-~-~-~-~-~"
|
|
|
|
echo
|
|
|
|
echo "Running tests for ${BATS_FILE%.bats}"
|
|
|
|
echo
|
|
|
|
BATS_FILE=bats/$BATS_FILE
|
|
|
|
if [[ "$1" == "-v" ]]
|
|
|
|
then
|
|
|
|
echo "Verbose mode"
|
2016-10-31 21:05:57 +01:00
|
|
|
./bats_to_sh.py $BATS_FILE | bash
|
2016-10-07 19:21:04 +02:00
|
|
|
else
|
|
|
|
bats $BATS_FILE
|
|
|
|
fi
|
|
|
|
done
|
2016-02-04 23:33:40 +01:00
|
|
|
|