[scalapack] 01/02: Add powerpc to the set of arches for which tests are ignored,

Drew Parsons dparsons at moszumanska.debian.org
Sun Sep 10 16:43:46 UTC 2017


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

dparsons pushed a commit to tag debian/2.0.2-3
in repository scalapack.

commit 1caf3f8b1bbca2e4634b35b0cf0a59db957388b6
Author: Drew Parsons <dparsons at debian.org>
Date:   Sun Sep 10 23:38:45 2017 +0800

    Add powerpc to the set of arches for which tests are ignored,
    
    since openmpi tests randomly fail on powerpc buildds.
    
    The same tests pass in a manual build in schroot on a Debian powerpc
    porterbox, so we can't rely on the tests always failing or always
    passing.
---
 debian/changelog | 8 ++++++++
 debian/rules     | 7 +++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3a21830..fc5862d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+scalapack (2.0.2-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add powerpc to the set of arches for which tests are ignored,
+    since openmpi tests randomly fail on powerpc buildds.
+
+ -- Drew Parsons <dparsons at debian.org>  Sun, 10 Sep 2017 23:34:48 +0800
+
 scalapack (2.0.2-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 55a9c2d..b46dfeb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,11 +75,14 @@ override_dh_auto_test:
 	# 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 (or SegFaults), assigning them return value 2
 	# Test only on linux, since openmpi on other OS (kfreebsd, hurd) does not support fakeroot
-	# mips64el routinely fails openmpi tests, so don't let it halt the build
+	#
+	# Note: openmpi tests routinely (but unreproducibly) fail on some buildds,
+	# so don't let test failure halt the build on these arches.
+	# Currently the bad-listed arches are: mips64el powerpc
 	if [ "$$DEB_BUILD_ARCH_OS" = "linux" ] && $$( grep -qE "Failed|SegFault" build-openmpi/dh_auto_test.log ); then \
 	  echo "OpenMPI tests failed:"; \
 	  grep -E "\(Failed\)|\(SEGFAULT\)" build-openmpi/dh_auto_test.log; \
-	  if [ ! "$$DEB_HOST_ARCH" = "mips64el" ]; then \
+	  if ! ( [ "$$DEB_HOST_ARCH" = "mips64el" ] || [ "$$DEB_HOST_ARCH" = "powerpc" ] ); then \
 	    return 2; \
 	  fi \
 	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