[polybori] 01/02: Disable test suite.

Tobias Hansen thansen at moszumanska.debian.org
Sat Jan 7 20:57:32 UTC 2017


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

thansen pushed a commit to branch master
in repository polybori.

commit 33231c1f71bfc1e21a32c96372893cdcb27291ba
Author: Tobias Hansen <thansen at debian.org>
Date:   Sat Jan 7 10:20:09 2017 +0100

    Disable test suite.
---
 debian/changelog |  8 ++++----
 debian/rules     | 19 +++++++++----------
 2 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 060e687..39a1b61 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,13 +1,13 @@
-brial (0.8.5-4) UNRELEASED; urgency=medium
+brial (0.8.5-4) unstable; urgency=medium
 
   * Add fix_ftbfs_gcc-6.patch:
     Upstream patch to fix FTBFS with gcc 6.
   * Remove -std=c++98 flag, obsolete with new patch.
-  * Run tests after dh_auto_install to avoid modifying files (config.h)
-    before installation.
   * Change fix-testsuite.patch: Do not set CXXFLAGS=-std=c++98.
+  * Disable the test suite (it is not supported by upstream and
+    modifies files that are going to be installed).
 
- -- Tobias Hansen <thansen at debian.org>  Sun, 01 Jan 2017 22:17:07 +0100
+ -- Tobias Hansen <thansen at debian.org>  Sat, 07 Jan 2017 10:18:15 +0100
 
 brial (0.8.5-3) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 8d77148..dc5fb17 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,13 +17,12 @@ override_dh_strip:
 	dh_strip -a -Nlibbrial0 \
 	  -Nlibbrial-groebner0
 
-# Run tests after dh_auto_install because scons modifies files
-# that are installed (e.g. config.h).
-override_dh_auto_install-arch:
-	dh_auto_install
-	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
+# Disable test suite for now because running scons modiefies files
+# that are going to be installed. 
+#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