[scalapack] 01/01: debian/rules: when tests fail, list the Failed tests

Drew Parsons dparsons at moszumanska.debian.org
Wed Jul 19 11:02:50 UTC 2017


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

dparsons pushed a commit to branch experimental
in repository scalapack.

commit 60275bcddbc96ef5fca0e94c1f0fd98320da4495
Author: Drew Parsons <dparsons at debian.org>
Date:   Wed Jul 19 18:58:54 2017 +0800

    debian/rules: when tests fail, list the Failed tests
    
    before returning error code 2.
    
    Will make casual debugging easier (e.g. viewing on buildd status page).
---
 debian/changelog | 8 ++++++++
 debian/rules     | 6 +++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6d911f9..efed687 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+scalapack (2.0.2-1exp4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/rules: when tests fail, list the Failed tests before
+    returning error code 2.
+
+ -- Drew Parsons <dparsons at debian.org>  Wed, 19 Jul 2017 18:56:59 +0800
+
 scalapack (2.0.2-1exp3) experimental; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 8388a1d..fa30ffb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,5 +65,9 @@ override_dh_auto_test:
 	done
 	# mpich has been found to Fail some tests but openmpi should not, so only check the openmpi test logs.
 	# openmpi may Timeout on slower arches, so only register actual Fails, assigning them return value 2
-	if $$( grep -q Failed build-openmpi/dh_auto_test.log ); then return 2; fi
+	if $$( grep -q Failed build-openmpi/dh_auto_test.log ); then \
+	  echo "OpenMPI tests failed:"; \
+	  grep Failed build-openmpi/dh_auto_test.log; \
+	  return 2; \
+	fi
 

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



More information about the debian-science-commits mailing list