diff options
Diffstat (limited to 'debian/tests/run-installed')
-rwxr-xr-x | debian/tests/run-installed | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/run-installed b/debian/tests/run-installed new file mode 100755 index 0000000..fe0ffb2 --- /dev/null +++ b/debian/tests/run-installed @@ -0,0 +1,13 @@ +#!/bin/sh + +set -eu +cp -r tests "$AUTOPKGTEST_TMP" +cd "$AUTOPKGTEST_TMP/tests" +sed -i "s/\.\.\/\.\.\/debian/\/usr\/share\/python3/g" common.mk +sed -i "s/\.\.\/\.\.\/dhpython/\/usr\/share\/dh-python\/dhpython/g" common.mk +sed -i "s/PYTHONPATH=\.\.\/\.\.\//PYTHONPATH=\/usr\/share\/python3/g" t*/debian/rules +sed -i "s/\.\.\/\.\.\/debian\///g" t*/debian/rules +sed -i "s/\.\.\/\.\.\/dh_py/\/usr\/share\/dh-python\/dh_py/g" t*/debian/rules +sed -i "s/\.\.\/\.\.\///g" t*/debian/rules + +make "$@" |