Commit bf1e1254 authored by Nicholas Breen's avatar Nicholas Breen

Add LD_LIBRARY_PATH overrides to unit tests

parent f8e992eb
gromacs (5.1.2-3) experimental; urgency=medium
* Add LD_LIBRARY_PATH overrides to unit tests.
-- Nicholas Breen <nbreen@debian.org> Thu, 21 Apr 2016 17:35:41 -0700
gromacs (5.1.2-2) experimental; urgency=medium
* Run upstream unit tests. Supports DEB_BUILD_OPTIONS=nocheck bypass.
......
......@@ -113,8 +113,8 @@ build-basic: configure-stamp
$(MAKE) -C build/basic
$(MAKE) -C build/basic-dp
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C build/basic check
$(MAKE) -C build/basic-dp check
LD_LIBRARY_PATH=$(CURDIR)/build/basic/lib $(MAKE) -C build/basic check
LD_LIBRARY_PATH=$(CURDIR)/build/basic-dp/lib $(MAKE) -C build/basic-dp check
endif
touch $@
......@@ -138,8 +138,8 @@ build-mpich: configure-stamp
< debian/gromacs-parallel.README.Debian.in \
> debian/gromacs-mpich.README.Debian
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C build/mpich check
$(MAKE) -C build/mpich-dp check
LD_LIBRARY_PATH=$(CURDIR)/build/mpich/lib $(MAKE) -C build/mpich check
LD_LIBRARY_PATH=$(CURDIR)/build/mpich-dp/lib $(MAKE) -C build/mpich-dp check
endif
touch $@
......@@ -152,8 +152,8 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),$(OPENMPI_ARCH)))
< debian/gromacs-parallel.README.Debian.in \
> debian/gromacs-openmpi.README.Debian
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C build/openmpi check
$(MAKE) -C build/openmpi-dp check
LD_LIBRARY_PATH=$(CURDIR)/build/openmpi/lib $(MAKE) -C build/openmpi check
LD_LIBRARY_PATH=$(CURDIR)/build/openmpi-dp/lib $(MAKE) -C build/openmpi-dp check
endif
endif
touch $@
......
Markdown is supported
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