From 305e60127ea07edafe4c9cc42930fb5aa8af5b14 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Fri, 12 Aug 2022 12:56:31 +0300 Subject: [PATCH] debian/tests: push pychunk into python/. --- debian/rules | 4 ++-- debian/tests/control | 4 ++-- debian/tests/{ => python}/pychunk/__init__.py | 0 debian/tests/{ => python}/pychunk/common.py | 0 debian/tests/{ => python}/pychunk/compile.py | 0 debian/tests/{ => python}/pychunk/defs.py | 0 debian/tests/{ => python}/pychunk/roundtrip.py | 0 debian/tests/tox.ini | 2 +- 8 files changed, 5 insertions(+), 5 deletions(-) rename debian/tests/{ => python}/pychunk/__init__.py (100%) rename debian/tests/{ => python}/pychunk/common.py (100%) rename debian/tests/{ => python}/pychunk/compile.py (100%) rename debian/tests/{ => python}/pychunk/defs.py (100%) rename debian/tests/{ => python}/pychunk/roundtrip.py (100%) diff --git a/debian/rules b/debian/rules index fc50a26..6c4ab90 100755 --- a/debian/rules +++ b/debian/rules @@ -13,8 +13,8 @@ override_dh_auto_configure: dh_auto_configure -- -Dwith-openssl=disabled execute_after_dh_auto_test: - env PYTHONPATH=debian/tests python3 -B -m pychunk.roundtrip -d 'obj-${GARCH}/src' -f '/usr/share/dict/american-english' - env PYTHONPATH=debian/tests python3 -B -m pychunk.roundtrip -d 'obj-${GARCH}/src' -f "$$(readlink -f -- "$$(command -v gcc)")" + env PYTHONPATH=debian/tests/python python3 -B -m pychunk.roundtrip -d 'obj-${GARCH}/src' -f '/usr/share/dict/american-english' + env PYTHONPATH=debian/tests/python python3 -B -m pychunk.roundtrip -d 'obj-${GARCH}/src' -f "$$(readlink -f -- "$$(command -v gcc)")" override_dh_makeshlibs: dh_makeshlibs -- -c4 diff --git a/debian/tests/control b/debian/tests/control index 4e6af83..b490fa1 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,7 +1,7 @@ -Test-Command: env PYTHONPATH=debian/tests python3 -B -m pychunk.roundtrip -d /usr/bin -f /usr/share/dict/american-english +Test-Command: env PYTHONPATH=debian/tests/python python3 -B -m pychunk.roundtrip -d /usr/bin -f /usr/share/dict/american-english Depends: @, python3, wamerican Features: test-name=debian-dict -Test-Command: env PYTHONPATH=debian/tests python3 -B -m pychunk.compile -d /usr/bin -f /usr/share/dict/american-english debian/tests/chunk.c +Test-Command: env PYTHONPATH=debian/tests/python python3 -B -m pychunk.compile -d /usr/bin -f /usr/share/dict/american-english debian/tests/chunk.c Depends: @, build-essential, pkg-config, python3, wamerican Features: test-name=debian-compile diff --git a/debian/tests/pychunk/__init__.py b/debian/tests/python/pychunk/__init__.py similarity index 100% rename from debian/tests/pychunk/__init__.py rename to debian/tests/python/pychunk/__init__.py diff --git a/debian/tests/pychunk/common.py b/debian/tests/python/pychunk/common.py similarity index 100% rename from debian/tests/pychunk/common.py rename to debian/tests/python/pychunk/common.py diff --git a/debian/tests/pychunk/compile.py b/debian/tests/python/pychunk/compile.py similarity index 100% rename from debian/tests/pychunk/compile.py rename to debian/tests/python/pychunk/compile.py diff --git a/debian/tests/pychunk/defs.py b/debian/tests/python/pychunk/defs.py similarity index 100% rename from debian/tests/pychunk/defs.py rename to debian/tests/python/pychunk/defs.py diff --git a/debian/tests/pychunk/roundtrip.py b/debian/tests/python/pychunk/roundtrip.py similarity index 100% rename from debian/tests/pychunk/roundtrip.py rename to debian/tests/python/pychunk/roundtrip.py diff --git a/debian/tests/tox.ini b/debian/tests/tox.ini index 47f770f..9cfcb0d 100644 --- a/debian/tests/tox.ini +++ b/debian/tests/tox.ini @@ -8,7 +8,7 @@ skipsdist = True [defs] files = - pychunk + python/pychunk [testenv:black] basepython = python3 -- 2.30.2