[Python-modules-commits] r29907 - in packages/python-markdown/trunk/debian (rules)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Jul 25 11:21:46 UTC 2014


    Date: Friday, July 25, 2014 @ 11:21:43
  Author: mitya57-guest
Revision: 29907

Fix running the tests

Modified:
  packages/python-markdown/trunk/debian/rules

Modified: packages/python-markdown/trunk/debian/rules
===================================================================
--- packages/python-markdown/trunk/debian/rules	2014-07-25 07:02:11 UTC (rev 29906)
+++ packages/python-markdown/trunk/debian/rules	2014-07-25 11:21:43 UTC (rev 29907)
@@ -2,8 +2,7 @@
 # -*- mode: makefile; coding: utf-8 -*-
 
 export PYBUILD_NAME=markdown
-export PYBUILD_TEST_NOSE=1
-export PYBUILD_TEST_ARGS=--verbose --where=$(CURDIR)/tests
+export PYBUILD_TEST_ARGS={interpreter} $(CURDIR)/run-tests.py --verbose
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
@@ -12,7 +11,10 @@
 	dh_auto_install
 	rm debian/python3-markdown/usr/bin/markdown_py
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom dh_auto_test
+
 override_dh_compress:
 	dh_compress -X.txt
 
-.PHONY: override_dh_auto_install override_dh_compress
+.PHONY: override_dh_auto_install override_dh_auto_test override_dh_compress




More information about the Python-modules-commits mailing list