diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 16:08:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 16:08:07 +0000 |
commit | d43c39132dfcb97f8ad0e6c4830d8dd4334c6380 (patch) | |
tree | 4ce258fe97564cfc903499fa487401dcc451ce85 /debian/tests/run-installed | |
parent | Adding upstream version 5.20230130+deb12u1. (diff) | |
download | dh-python-debian.tar.xz dh-python-debian.zip |
Adding debian version 5.20230130+deb12u1.debian/5.20230130+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 "$@" |