[scalapack] 03/05: fail on SegFault as well as Failed

Drew Parsons dparsons at moszumanska.debian.org
Tue Aug 8 02:02:33 UTC 2017


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

dparsons pushed a commit to tag experimental/2.0.2-1exp6
in repository scalapack.

commit af6e41ed93cbc3cbcf76d0f98f33bc7d6628c1a2
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue Aug 8 02:45:13 2017 +0800

    fail on SegFault as well as Failed
    
    I'm looking at you, mips64el
---
 debian/changelog | 8 +++++---
 debian/rules     | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 300296b..e26cab8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,9 +3,11 @@ scalapack (2.0.2-1exp6) UNRELEASED; urgency=medium
   * Team upload.
   * Only check openmpi test Fails on linux,
     since openmpi doesn't support fakeroot usage on kfreebsd or hurd.
-  * dh_auto_test: use tee to throw test output to stdout as well as
-    dh_auto_test.log. Avoids buildd timeout on slower arches like
-    powerpc.
+  * dh_auto_test
+    - use tee to throw test output to stdout as well as
+      dh_auto_test.log. Avoids buildd timeout on slower arches like
+      powerpc.
+    - fail on SegFault as well as Failed
   * add PBLAS tests (including timing) to scalapack-mpi-test
 
  -- Drew Parsons <dparsons at debian.org>  Mon, 07 Aug 2017 16:04:14 +0800
diff --git a/debian/rules b/debian/rules
index 3a17aca..d193b6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,11 +71,11 @@ override_dh_auto_test:
 	  echo '************************************************'; \
 	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
+	# openmpi may Timeout on slower arches, so only register actual Fails (or SegFaults), assigning them return value 2
 	# Test only on linux, since openmpi on other OS (kfreebsd, hurd) does not support fakeroot
-	if [ "$$DEB_BUILD_ARCH_OS" = "linux" ] && $$( grep -q Failed build-openmpi/dh_auto_test.log ); then \
+	if [ "$$DEB_BUILD_ARCH_OS" = "linux" ] && $$( grep -qE "Failed|SegFault" build-openmpi/dh_auto_test.log ); then \
 	  echo "OpenMPI tests failed:"; \
-	  grep Failed build-openmpi/dh_auto_test.log; \
+	  grep -E "\(Failed\)|\(SEGFAULT\)" 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