[scotch] 02/04: reinstate halt-on-error for checks

Drew Parsons dparsons at moszumanska.debian.org
Sun Nov 26 15:12:33 UTC 2017


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

dparsons pushed a commit to tag debian/6.0.4.dfsg1-6
in repository scotch.

commit 72f2952d416f72e6941f6c943f6b072bfdf60594
Author: Drew Parsons <dparsons at debian.org>
Date:   Sun Nov 26 22:43:22 2017 +0800

    reinstate halt-on-error for checks
    
    using LD_LIBRARY_PATH when running build-time checks should enable
    tests to run successfully, so reinstate halt-on-error for checks
    
    Reverts (most of) 36cdcb39adb645a66a8fbb322496846665b32286
---
 debian/changelog | 2 ++
 debian/rules     | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 89e196c..dde98b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ scotch (6.0.4.dfsg1-6) UNRELEASED; urgency=medium
   * Team upload.
   * debian/rules: provide path to built libs (LD_LIBRARY_PATH) when
     running build-time checks.
+    - should enable tests to run successfully, so reinstate
+      halt-on-error for checks
 
  -- Drew Parsons <dparsons at debian.org>  Sun, 26 Nov 2017 22:37:46 +0800
 
diff --git a/debian/rules b/debian/rules
index 7f48107..f475851 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,8 +76,8 @@ build-arch-stamp: patch-stamp
 	   (cd src && $(MAKE) realclean prefix=$(CURDIR)/$$v); \
 	   (cd src && $(MAKE) scotch ptscotch prefix=$(CURDIR)/$$v); \
 	   (cd src && $(MAKE) esmumps ptesmumps prefix=$(CURDIR)/$$v); \
-	   echo "check for $$v (information only: won't halt on error)"; \
-	   (cd src && LD_LIBRARY_PATH=$(CURDIR)/src/check/../../lib:$(LD_LIBRARY_PATH) $(MAKE) check prefix=$(CURDIR)/$$v) || /bin/true; \
+	   echo "check for $$v"; \
+	   (cd src && LD_LIBRARY_PATH=$(CURDIR)/src/check/../../lib:$(LD_LIBRARY_PATH) $(MAKE) check prefix=$(CURDIR)/$$v); \
 	   echo "install for $$v"; \
 	   (cd src && $(MAKE) install prefix=$(CURDIR)/$$v); \
 	   mv $$v/bin/gbase $$v/bin/scotch_gbase; \

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



More information about the debian-science-commits mailing list