[slepc] 05/05: switch off build-time tests

Drew Parsons dparsons at moszumanska.debian.org
Sun Oct 25 19:02:03 UTC 2015


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

dparsons pushed a commit to branch master
in repository slepc.

commit 12fdeabf60918f1945a883e2aa43de183b66a565
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Oct 26 02:36:44 2015 +0800

    switch off build-time tests
    
    SLEPc does not properly distinguish between installdir (the final
    destination configured by configure --prefix) and destdir (the staging
    location to install files for packaging), cf. patch install_destdir
    
    Consequently build-time testing (make test) fails once install_destdir
    is patched in, since the conf files hardwire in the final installation
    directory, but the files are not yet installed there (i.e.
    lib/slepc/conf/slepcvariables and slepcrules).
    
    So disable build-time testing. Sorry.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2f7dfb2..b74f593 100755
--- a/debian/rules
+++ b/debian/rules
@@ -158,7 +158,7 @@ override_dh_auto_install:
           PETSC_DIR=$(PETSC_DIR_REAL)
 	echo PACKAGE_INSTALL_DIR=$(PACKAGE_INSTALL_DIR)
 	echo SLEPC_DIR_PREFIX=$(SLEPC_DIR_PREFIX)
-	make SLEPC_DIR=$(CURDIR)/$(PACKAGE_INSTALL_DIR) PETSC_DIR=$(PETSC_DIR_REAL) PETSC_ARCH="" LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/$(PACKAGE_INSTALL_DIR)/lib test
+#	make SLEPC_DIR=$(CURDIR)/$(PACKAGE_INSTALL_DIR) PETSC_DIR=$(PETSC_DIR_REAL) PETSC_ARCH="" LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/$(PACKAGE_INSTALL_DIR)/lib test
 	
 	PETSC_DIR=$(PETSC_DIR_REAL_DEBUG) \
           ./configure --prefix=$(SLEPC_DIR_DEBUG_PREFIX)  \
@@ -170,7 +170,7 @@ override_dh_auto_install:
           SLEPC_INSTALLDIR=$(SLEPC_DIR_DEBUG_PREFIX) \
           SLEPC_DESTDIR=$(PACKAGE_DEBUG_INSTALL_DIR)  \
           PETSC_DIR=$(PETSC_DIR_REAL_DEBUG)
-	make SLEPC_DIR=$(CURDIR)/$(PACKAGE_DEBUG_INSTALL_DIR) PETSC_DIR=$(PETSC_DIR_REAL_DEBUG) PETSC_ARCH="" LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/$(PACKAGE_INSTALL_DIR)/lib test
+#	make SLEPC_DIR=$(CURDIR)/$(PACKAGE_DEBUG_INSTALL_DIR) PETSC_DIR=$(PETSC_DIR_REAL_DEBUG) PETSC_ARCH="" LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/$(PACKAGE_INSTALL_DIR)/lib test
 	
 	PETSC_DIR=$(PETSC_DIR_COMPLEX) \
           ./configure --prefix=$(SLEPC_COMPLEX_DIR_PREFIX)  \

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



More information about the debian-science-commits mailing list