From 0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 15:34:14 +0200 Subject: fix local tests --- podman/testdata/testscript.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'podman/testdata') 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 $@ -- cgit