[scoop] 03/03: running testsuite

Daniel Stender danstender-guest at moszumanska.debian.org
Tue Sep 2 22:56:23 UTC 2014


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

danstender-guest pushed a commit to branch master
in repository scoop.

commit 84a978103048e5b13336d937d2e4285962745c38
Author: Daniel Stender <daniel at danielstender.com>
Date:   Wed Sep 3 00:54:35 2014 +0200

    running testsuite
---
 debian/control                         |  4 +++-
 debian/patches/restore-testsuite.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 debian/rules                           |  5 +++++
 4 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index a79d8c3..416a962 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,10 @@ Build-Depends:
  debhelper (>= 9),
  dh-python,
  python-all (>= 2.6.6.3~),
+ python-greenlet (>= 0.3.4~),
  python-setuptools,
- python-sphinx (>= 1.0.7+dfsg-1~)
+ python-sphinx (>= 1.0.7+dfsg-1~),
+ python-zmq (>= 13.1.0~)
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/scoop.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/scoop.git
diff --git a/debian/patches/restore-testsuite.patch b/debian/patches/restore-testsuite.patch
new file mode 100644
index 0000000..e800374
--- /dev/null
+++ b/debian/patches/restore-testsuite.patch
@@ -0,0 +1,25 @@
+Description: restores the test suite
+ the launch files are not shipped with the release tarball, cf.
+ https://groups.google.com/forum/#!topic/scoop-users/3v56J569jMg
+Author: Daniel Stender <debian at danielstender.com>
+Origin: upstream, https://code.google.com/p/scoop/source/browse/#hg%2Ftest
+Forwarded: not-needed
+Last-Update: 2014-09-03
+--- /dev/null
++++ b/test/hostfilesim.txt
+@@ -0,0 +1,4 @@
++host1 worker=8
++host2 4
++host3  2 3 4
++host4 X 2
+--- /dev/null
++++ b/test/pbshostssim.txt
+@@ -0,0 +1 @@
++host1 host1 host1 host1 host1 host1 host1 host1 host2 host2 host2 host2 host3 host3 host4 host4
+--- /dev/null
++++ b/test/sgehostssim.txt
+@@ -0,0 +1,4 @@
++host1 8 host1 UNDEFINED
++host2 4 host2 UNDEFINED
++host3 2 host3 UNDEFINED
++host4 2 host4 UNDEFINED
diff --git a/debian/patches/series b/debian/patches/series
index 1d35fed..3ec5637 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+restore-testsuite.patch
 no-adsense.patch
diff --git a/debian/rules b/debian/rules
index 5c110e9..d7bccf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,11 @@ export PYBUILD_NAME=scoop
 %:
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="cd {dir}/test; {interpreter} tests.py" \
+	dh_auto_test
+
 override_dh_auto_install:
 	dh_auto_install
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))

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



More information about the debian-science-commits mailing list