[SCM] polybori: Polynomials over Boolean Rings branch, master, updated. upstream/0.8.2-149-g0202afb

Alexander Dreyer adreyer at gmx.de
Thu Jan 24 21:36:44 UTC 2013


The following commit has been merged in the master branch:
commit e670abee30bc266a61eeb7428a5f2d724e07a560
Author: Alexander Dreyer <adreyer at gmx.de>
Date:   Thu Jan 24 22:09:20 2013 +0100

    Adding unittest building and execution

diff --git a/debian/control b/debian/control
index 21fc82f..8e0a02e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
                scons,
                libboost-dev,
                libboost-python-dev,
+               libboost-test-dev,
                libm4ri-dev (>= 20120613),
                python-all-dev
 Build-Depends-Indep: doxygen,
diff --git a/debian/rules b/debian/rules
index 347453f..8ef9b83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -85,6 +85,18 @@ override_dh_auto_install-indep:
 
 
 test-python%:
+	scons $(SCONSPARFLAGS) testsuite/unittests INSTALLDIR=$(TMPDEST)/usr/share/polybori \
+		PYINSTALLPREFIX=$(TMPDEST)/$(PYTHONSITE) MANDIR=$(TMPDEST)/usr/share/man \
+		PREFIX=$(TMPDEST)/usr EPREFIX=$(TMPDEST)/usr/bin \
+		DOCDIR=$(TMPDEST)/usr/share/doc/polybori \
+		LINKFLAGS="$(LDFLAGS)" \
+		CCFLAGS="$(CPPFLAGS)" \
+		CFLAGS="$(CFLAGS)" \
+		CXXFLAGS="$(CXXFLAGS)" \
+		LEVEL_LIB_PREFIX=$(TMPDEST)/usr/lib/$(DEB_HOST_MULTIARCH) \
+		TMPINSTALLDIR=$(TMPDEST) \
+		M4RIURL=''
+	testsuite/unittests
 	ipbori/ipbori -t 
 
 override_dh_auto_test: $(PYVERS:%=test-python%)

-- 
polybori: Polynomials over Boolean Rings



More information about the debian-science-commits mailing list