Commit d49b5ae7 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Simplify running tests.

parent 9fddd4d9
......@@ -7,14 +7,12 @@ DUNE_DEBIAN_SHLIB = $(subst ~,.,lib$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM))
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
# 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
dh_gencontrol -- -Vdune:shared-library='$(DUNE_DEBIAN_SHLIB)'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment