Files
copyparty/scripts/run-tests.sh

16 lines
225 B
Bash
Raw Normal View History

2021-06-01 05:49:41 +02:00
#!/bin/bash
set -ex
pids=()
for py in python{2,3}; do
2021-06-12 01:39:14 +02:00
nice $py -m unittest discover -s tests >/dev/null &
2021-06-01 05:49:41 +02:00
pids+=($!)
done
2021-06-12 01:39:14 +02:00
python3 scripts/test/smoketest.py &
pids+=($!)
2021-06-01 05:49:41 +02:00
for pid in ${pids[@]}; do
wait $pid
done