summaryrefslogtreecommitdiff
path: root/podman/testdata/testscript.sh
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 11:31:17 +0200
committerjaseg <git@jaseg.de>2022-06-21 11:31:17 +0200
commit6752dab1254e2995e4d8545e2ae95be7be085a40 (patch)
tree3414159751b09d09491bc134d98c4019c9a7aec1 /podman/testdata/testscript.sh
parentacf2747e862be2b5bee370bd5fb4ddbcbb6e478f (diff)
downloadgerbonara-6752dab1254e2995e4d8545e2ae95be7be085a40.tar.gz
gerbonara-6752dab1254e2995e4d8545e2ae95be7be085a40.tar.bz2
gerbonara-6752dab1254e2995e4d8545e2ae95be7be085a40.zip
local tests: add --parallel arg
Diffstat (limited to 'podman/testdata/testscript.sh')
-rwxr-xr-xpodman/testdata/testscript.sh8
1 files changed, 6 insertions, 2 deletions
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