[Python-apps-commits] r13357 - in packages/pyinfra/trunk/debian (changelog control rules)

stender at users.alioth.debian.org stender at users.alioth.debian.org
Sat Jun 25 18:38:35 UTC 2016


    Date: Saturday, June 25, 2016 @ 18:38:34
  Author: stender
Revision: 13357

run tests

Modified:
  packages/pyinfra/trunk/debian/changelog
  packages/pyinfra/trunk/debian/control
  packages/pyinfra/trunk/debian/rules

Modified: packages/pyinfra/trunk/debian/changelog
===================================================================
--- packages/pyinfra/trunk/debian/changelog	2016-06-25 18:30:51 UTC (rev 13356)
+++ packages/pyinfra/trunk/debian/changelog	2016-06-25 18:38:34 UTC (rev 13357)
@@ -3,8 +3,11 @@
   * New upstream release.
   * deb/control:
     + added sphinx-rtd-theme to build deps.
+  * Run tests (Closes: #823304):
+    + added nose, jsontest and mock to b-deps in deb/control.
+    + added override for dh_auto_test in deb/rules.
 
- -- Daniel Stender <stender at debian.org>  Sat, 25 Jun 2016 20:29:18 +0200
+ -- Daniel Stender <stender at debian.org>  Sat, 25 Jun 2016 20:36:57 +0200
 
 pyinfra (0.1~dev24-1) unstable; urgency=medium
 

Modified: packages/pyinfra/trunk/debian/control
===================================================================
--- packages/pyinfra/trunk/debian/control	2016-06-25 18:30:51 UTC (rev 13356)
+++ packages/pyinfra/trunk/debian/control	2016-06-25 18:38:34 UTC (rev 13357)
@@ -16,6 +16,9 @@
  python3-jinja2,
  python3-dateutil,
  python3-six,
+ python3-nose,
+ python3-jsontest,
+ python3-mock,
  python3-sphinx,
  python3-sphinx-rtd-theme
 Standards-Version: 3.9.8

Modified: packages/pyinfra/trunk/debian/rules
===================================================================
--- packages/pyinfra/trunk/debian/rules	2016-06-25 18:30:51 UTC (rev 13356)
+++ packages/pyinfra/trunk/debian/rules	2016-06-25 18:38:34 UTC (rev 13357)
@@ -9,7 +9,7 @@
 override_dh_auto_build:
 
 override_dh_auto_test:
-	# tests need jsontest
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python3 -m nose --verbose" dh_auto_test
 
 override_dh_installdocs:
 	PYTHONPATH=. sphinx-build -N -bhtml docs/ debian/pyinfra/usr/share/doc/pyinfra/html/




More information about the Python-apps-commits mailing list