diff options
author | Stuart Prescott <stuart@debian.org> | 2019-12-22 12:08:13 +1100 |
---|---|---|
committer | Stuart Prescott <stuart@debian.org> | 2019-12-22 12:08:13 +1100 |
commit | 33de05ec3eb6d5832c6823d4bba65d9f5fb42f48 (patch) | |
tree | 0afbfb478c16ed059ddc3360190bcc6fcea771fa | |
parent | 1bb6c4f68628d529a079e655e1d59ea17748c581 (diff) |
Fix tests for multiple interpreters
-rw-r--r-- | debian/pybuild.testfiles | 3 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/pybuild.testfiles b/debian/pybuild.testfiles new file mode 100644 index 0000000..0c522fc --- /dev/null +++ b/debian/pybuild.testfiles @@ -0,0 +1,3 @@ +runtests.py +tests +cfgparser.1 diff --git a/debian/rules b/debian/rules index f21f4f3..b28f3f8 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,8 @@ override_dh_auto_install: rm -fr debian/python*-iniparse/usr/share/doc/iniparse-* override_dh_auto_test: - python3 ./runtests.py + PYBUILD_SYSTEM=custom \ + PYBUILD_TEST_ARGS="cd {build_dir}; python{version} ./runtests.py" \ + dh_auto_test --buildsystem=pybuild .PHONY: override_dh_auto_install override_dh_auto_test |