mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 12:56:14 +01:00
40 lines
460 B
Bash
Executable File
40 lines
460 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LIST="
|
|
|
|
convert.bats
|
|
hf.bats
|
|
foboci.bats
|
|
pseudo.bats
|
|
fci.bats
|
|
cassd.bats
|
|
mrcepa0.bats
|
|
|
|
"
|
|
|
|
|
|
export QP_PREFIX="timeout -s 9 300"
|
|
export QP_TASK_DEBUG=1
|
|
|
|
rm -rf work output
|
|
|
|
|
|
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"
|
|
./bats_to_sh.py $BATS_FILE | bash
|
|
else
|
|
bats $BATS_FILE
|
|
fi
|
|
done
|
|
|
|
|