[dune-common] 03/06: Simplify running tests.

Ansgar Burchardt ansgar at moszumanska.debian.org
Mon Nov 21 19:20:46 UTC 2016


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

ansgar pushed a commit to branch master
in repository dune-common.

commit d49b5ae797e33d1141ab951fbc82970fd68571f2
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Mon Nov 21 17:22:08 2016 +0100

    Simplify running tests.
---
 debian/dune-debian.mk | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/dune-debian.mk b/debian/dune-debian.mk
index 686182a..5fe7cba 100644
--- a/debian/dune-debian.mk
+++ b/debian/dune-debian.mk
@@ -7,14 +7,12 @@ DUNE_DEBIAN_SHLIB = $(subst ~,.,lib$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM))
 override_dh_auto_configure:
 	dh_auto_configure -- -DBUILD_SHARED_LIBS=1
 
+# OpenMPI looks for a rsh program, even when it only starts local processes.
+export OMPI_MCA_plm_rsh_agent=/bin/false
+
 override_dh_auto_test:
-	# OpenMPI expects rsh/ssh to be in PATH even when it only starts local processes:
-	mkdir debian/tmp-test
-	ln -s /bin/false debian/tmp-test/ssh
-	ln -s /bin/false debian/tmp-test/rsh
 	dh_auto_build -- build_tests
 	cd build; PATH=$(CURDIR)/debian/tmp-test:$$PATH $(DUNE_CTEST)
-	rm -rf debian/tmp-test
 
 override_dh_gencontrol:
 	dh_gencontrol -- -Vdune:shared-library='$(DUNE_DEBIAN_SHLIB)'

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



More information about the debian-science-commits mailing list