From ee233317f1c5541a302c4f062b9957ae7ea335c2 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 12:07:13 +0200 Subject: Fix local tests --- podman/testdata/.gitignore | 1 + podman/testdata/testscript.sh | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 podman/testdata/.gitignore (limited to 'podman/testdata') diff --git a/podman/testdata/.gitignore b/podman/testdata/.gitignore new file mode 100644 index 0000000..5664e30 --- /dev/null +++ b/podman/testdata/.gitignore @@ -0,0 +1 @@ +git diff --git a/podman/testdata/testscript.sh b/podman/testdata/testscript.sh index 4e191b9..d36560d 100755 --- a/podman/testdata/testscript.sh +++ b/podman/testdata/testscript.sh @@ -1,12 +1,7 @@ #!/bin/sh set -e -git clone /data/git git +rsync -av /data/git git cd git -if [ $# -ge 1 -a "$1" = "--parallel" ]; then - python3 -m pytest --workers auto -else - python3 -m pytest -x -fi - +python3 -m pytest $@ -- cgit