[scalapack] 01/05: dh_auto_test: use tee to throw test output to stdout
Drew Parsons
dparsons at moszumanska.debian.org
Tue Aug 8 02:02:32 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 7263fbafdce3927720f8420eecd08382dd752b95
Author: Drew Parsons <dparsons at debian.org>
Date: Mon Aug 7 16:43:50 2017 +0800
dh_auto_test: use tee to throw test output to stdout
as well as dh_auto_test.log (needed for checking true Fails).
Avoids buildd timeout on slower arches like powerpc.
---
debian/changelog | 3 +++
debian/rules | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 236e600..d47fb12 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ 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.
-- Drew Parsons <dparsons at debian.org> Mon, 07 Aug 2017 16:04:14 +0800
diff --git a/debian/rules b/debian/rules
index 513b886..678b05a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,11 +62,10 @@ override_dh_install-arch:
override_dh_auto_test:
for flavor in openmpi mpich; do \
echo "Running tests for libscalapack-$$flavor" ; \
- MPIEXEC="mpiexec.$$flavor --allow-run-as-root --oversubscribe -np " dh_auto_test --builddirectory=build-$$flavor >build-$$flavor/dh_auto_test.log 2>&1 || /bin/true; \
echo '************************************************'; \
echo "****** TESTING $$flavor BUILD"; \
echo '************************************************'; \
- cat build-$$flavor/dh_auto_test.log; \
+ ( MPIEXEC="mpiexec.$$flavor --allow-run-as-root --oversubscribe -np " dh_auto_test --builddirectory=build-$$flavor 2>&1 | tee build-$$flavor/dh_auto_test.log ) || /bin/true; \
echo '************************************************'; \
echo "****** TESTING OF $$flavor BUILD IS COMPLETE"; \
echo '************************************************'; \
--
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