[Python-apps-commits] r11920 - in packages/hg-git/trunk/debian (rules)
vicho at users.alioth.debian.org
vicho at users.alioth.debian.org
Fri May 8 12:36:05 UTC 2015
Date: Friday, May 8, 2015 @ 12:36:04
Author: vicho
Revision: 11920
Add a recipe to run the testsuite on build
Commented for the time being as the testsuite fails in the upstream
package.
Modified:
packages/hg-git/trunk/debian/rules
Modified: packages/hg-git/trunk/debian/rules
===================================================================
--- packages/hg-git/trunk/debian/rules 2015-05-08 12:35:57 UTC (rev 11919)
+++ packages/hg-git/trunk/debian/rules 2015-05-08 12:36:04 UTC (rev 11920)
@@ -8,6 +8,12 @@
%:
dh $@ --with python2 --buildsystem python_distutils
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ # Not running the test since as of 0.8.0, 2 tests in it fail
+ #make tests
+endif
+
# python setup.py install installs it as hggit, whereas mercurial searches for
# it in hgext/git. Copy it manually. As mercurial is the only module that
# should be importing this, the lack of egg-info shouldn't cause any problems
More information about the Python-apps-commits
mailing list