From 6752dab1254e2995e4d8545e2ae95be7be085a40 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 11:31:17 +0200 Subject: local tests: add --parallel arg --- podman/testdata/testscript.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'podman') diff --git a/podman/testdata/testscript.sh b/podman/testdata/testscript.sh index a5b1b2f..4e191b9 100755 --- a/podman/testdata/testscript.sh +++ b/podman/testdata/testscript.sh @@ -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 -- cgit