[seaborn] 15/35: debian/rules - customize tests invocation for compatibility with nose on wheezy (can't be invoked via python -m nose)

Andreas Tille tille at debian.org
Fri Jan 20 15:00:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch debian
in repository seaborn.

commit d29351e2445ddfcd29824164ecfa2c01ad697491
Author: Yaroslav Halchenko <debian at onerussian.com>
Date:   Mon Apr 21 20:58:53 2014 -0400

    debian/rules - customize tests invocation for compatibility with nose on wheezy (can't be invoked via python -m nose)
---
 debian/changelog | 3 +++
 debian/rules     | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 16aa0ba..24cf35b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ seaborn (0.3.1-1) unstable; urgency=medium
 
   * New upstream release
     - absorbed all previously included patches
+  * debian/rules
+    - customize tests invocation for compatibility with nose on wheezy
+      (can't be invoked via python -m nose)
 
  -- Yaroslav Halchenko <debian at onerussian.com>  Mon, 21 Apr 2014 20:56:40 -0400
 
diff --git a/debian/rules b/debian/rules
index d8b2291..510245f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,7 @@ export PYBUILD_TEST_NOSE=1
 override_dh_auto_test:
 	xvfb-run --auto-servernum --server-num=20 dh_auto_test $@
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	 PYBUILD_TEST_ARGS="nosetests -s -v --with-doctest {build_dir}/" \
+	 xvfb-run --auto-servernum --server-num=20 dh_auto_test $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/seaborn.git



More information about the debian-science-commits mailing list