[Python-modules-commits] r27874 - in packages/python-bitarray/branches/pybuild/debian (2 files)
jandd at users.alioth.debian.org
jandd at users.alioth.debian.org
Sat Feb 22 17:47:07 UTC 2014
Date: Saturday, February 22, 2014 @ 17:47:06
Author: jandd
Revision: 27874
add override_dh_auto_test to tell pybuild about the custom test system
Modified:
packages/python-bitarray/branches/pybuild/debian/changelog
packages/python-bitarray/branches/pybuild/debian/rules
Modified: packages/python-bitarray/branches/pybuild/debian/changelog
===================================================================
--- packages/python-bitarray/branches/pybuild/debian/changelog 2014-02-22 17:46:42 UTC (rev 27873)
+++ packages/python-bitarray/branches/pybuild/debian/changelog 2014-02-22 17:47:06 UTC (rev 27874)
@@ -15,6 +15,7 @@
- add X-Python-Version and X-Python3-Version to source package stanza
- drop custom rules from debian/rules, add PYBUILD_NAME and
--buildsystem=pybuild
+ - add override_dh_auto_test to tell pybuild about the custom test system
-- Jan Dittberner <jandd at debian.org> Sat, 22 Feb 2014 16:48:07 +0100
Modified: packages/python-bitarray/branches/pybuild/debian/rules
===================================================================
--- packages/python-bitarray/branches/pybuild/debian/rules 2014-02-22 17:46:42 UTC (rev 27873)
+++ packages/python-bitarray/branches/pybuild/debian/rules 2014-02-22 17:47:06 UTC (rev 27874)
@@ -27,5 +27,9 @@
override_dh_installchangelogs:
dh_installchangelogs CHANGE_LOG
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} -c 'import bitarray; bitarray.test()'" dh_auto_test
+
%:
dh $@ --with python2,python3 --buildsystem=pybuild
More information about the Python-modules-commits
mailing list