[polybori] 03/03: Run the testsuite.
Tobias Hansen
thansen at moszumanska.debian.org
Sun Oct 9 12:03:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository polybori.
commit af89791dd66b98d32929f9652015dbe395116d1a
Author: Tobias Hansen <thansen at debian.org>
Date: Sun Oct 9 12:02:23 2016 +0000
Run the testsuite.
---
debian/rules | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 80af57e..5abc3d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
# DH_VERBOSE=1
+NUMJOBS=$(filter parallel=%,$(DEB_BUILD_OPTIONS))
+SCONSPARFLAGS=$(subst parallel=,-j, $(NUMJOBS))
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
@@ -18,5 +20,10 @@ override_dh_strip:
dh_strip -a -Nlibbrial0 \
-Nlibbrial-groebner0
-
-
+override_dh_auto_test:
+ scons $(SCONSPARFLAGS) testsuite/unittests
+ifeq ($(DEB_HOST_ARCH_OS),hurd) # problems with rpath on hurd
+ LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) testsuite/unittests
+else
+ testsuite/unittests
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/polybori.git
More information about the debian-science-commits
mailing list