copyparty/scripts/run-tests.sh
2021-06-01 05:49:41 +02:00

13 lines
172 B
Bash
Executable file

#!/bin/bash
set -ex
pids=()
for py in python{2,3}; do
$py -m unittest discover -s tests >/dev/null &
pids+=($!)
done
for pid in ${pids[@]}; do
wait $pid
done