10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 21:03:56 +01:00
quantum_package/tests/run_tests.sh

19 lines
231 B
Bash
Raw Normal View History

2016-02-04 23:33:40 +01:00
#!/bin/bash
2016-02-19 00:20:28 +01:00
export QP_PREFIX="timeout -s 9 300"
export QP_TASK_DEBUG=1
BATS_FILE=bats/qp.bats
rm -rf work output
if [[ "$1" == "-v" ]]
then
echo "Verbose mode"
./bats_to_sh.py $BATS_FILE | bash
else
bats $BATS_FILE
fi
2016-02-04 23:33:40 +01:00