[Python-apps-commits] r12215 - in packages/prospector/trunk/debian (rules)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Sat Aug 8 15:14:34 UTC 2015


    Date: Saturday, August 8, 2015 @ 15:14:33
  Author: danstender-guest
Revision: 12215

deb/rules: run testing properly on the test suite

Modified:
  packages/prospector/trunk/debian/rules

Modified: packages/prospector/trunk/debian/rules
===================================================================
--- packages/prospector/trunk/debian/rules	2015-08-08 11:28:56 UTC (rev 12214)
+++ packages/prospector/trunk/debian/rules	2015-08-08 15:14:33 UTC (rev 12215)
@@ -1,9 +1,8 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
-export DEB_BUILD_OPTIONS=nocheck # needs fix to run w/o optionals (vulture, frosted, pyroma)
+#export DEB_BUILD_OPTIONS=nocheck
 
 export PYBUILD_NAME=prospector
-export PYBUILD_TEST_NOSE=1
 
 VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
 DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F -f -)
@@ -13,6 +12,9 @@
 
 override_dh_auto_build:
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose -v tests/" dh_auto_test
+
 override_dh_auto_install:
 	python setup.py install --root=debian/prospector --install-layout=deb --install-lib=/usr/share/prospector --install-scripts=/usr/share/prospector
 




More information about the Python-apps-commits mailing list