aboutsummaryrefslogtreecommitdiff
path: root/podman
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 15:34:14 +0200
committerjaseg <git@jaseg.de>2022-06-21 15:34:14 +0200
commit0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33 (patch)
tree21a5eb3415d8331e51cc57687d94dff3c61d2aa3 /podman
parente73b5771785c8e43872cef6cf661466a20603be4 (diff)
downloadgerbolyze-0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33.tar.gz
gerbolyze-0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33.tar.bz2
gerbolyze-0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33.zip
fix local testsv3.0.8
Diffstat (limited to 'podman')
-rw-r--r--podman/arch-testenv2
-rwxr-xr-xpodman/testdata/testscript.sh13
-rw-r--r--podman/ubuntu-testenv2
3 files changed, 14 insertions, 3 deletions
diff --git a/podman/arch-testenv b/podman/arch-testenv
index ec05243..11b3087 100644
--- a/podman/arch-testenv
+++ b/podman/arch-testenv
@@ -7,4 +7,4 @@ RUN python3 -m pip install pytest-parallel
RUN rustup install stable
RUN rustup default stable
RUN cargo install usvg resvg
-
+RUN python3 -m pip install --upgrade gerbonara
diff --git a/podman/testdata/testscript.sh b/podman/testdata/testscript.sh
index d36560d..b68f12a 100755
--- a/podman/testdata/testscript.sh
+++ b/podman/testdata/testscript.sh
@@ -1,7 +1,18 @@
#!/bin/sh
set -e
-rsync -av /data/git git
+rsync -a /data/git/ git/
cd git
+git config --global --add safe.directory $(realpath git)
+
+cp svg-flatten/build/svg-flatten.wasm svg-flatten/svg_flatten_wasi/
+cd svg-flatten
+python3 setup.py install
+cd ..
+
+pip install --upgrade --no-cache-dir 'gerbonara>=0.11.0'
+python3 setup.py install
+
+export WASMTIME_BACKTRACE_DETAILS=1
python3 -m pytest $@
diff --git a/podman/ubuntu-testenv b/podman/ubuntu-testenv
index 5bd275e..6f38dbb 100644
--- a/podman/ubuntu-testenv
+++ b/podman/ubuntu-testenv
@@ -5,4 +5,4 @@ RUN env DEBIAN_FRONTEND=noninteractive apt update -y
RUN env DEBIAN_FRONTEND=noninteractive apt install -y libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-venv cargo rsync gerbv
RUN cargo install usvg resvg
RUN python3 -m pip install numpy slugify lxml click pillow scipy sphinx pytest beautifulsoup4 pytest-parallel
-
+RUN python3 -m pip install --upgrade gerbonara