local tests: add --parallel arg
This commit is contained in:
parent
acf2747e86
commit
6752dab125
2 changed files with 8 additions and 3 deletions
8
podman/testdata/testscript.sh
vendored
8
podman/testdata/testscript.sh
vendored
|
|
@ -3,6 +3,10 @@
|
|||
set -e
|
||||
git clone /data/git git
|
||||
cd git
|
||||
#python3 -m pytest --workers auto
|
||||
python3 -m pytest -x
|
||||
|
||||
if [ $# -ge 1 -a "$1" = "--parallel" ]; then
|
||||
python3 -m pytest --workers auto
|
||||
else
|
||||
python3 -m pytest -x
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue