[oce] 02/04: Set LD_LIBRARY_PATH for dh_auto_test. (Closes: #875123)
Anton Gladky
gladk at moszumanska.debian.org
Sat Sep 23 16:51:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch debian
in repository oce.
commit b25b9dac41f01b2b29b3db12b05869b7f9e3b6a0
Author: Steve Langasek <steve.langasek at ubuntu.com>
Date: Sat Sep 23 18:41:58 2017 +0200
Set LD_LIBRARY_PATH for dh_auto_test. (Closes: #875123)
---
debian/rules | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/rules b/debian/rules
index 8e32368..f8e9a28 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,11 @@ CXXFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --ge
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
+UNAME := $(shell uname -m)
+DEBUG_PATH := obj-$(DEB_HOST_GNU_TYPE)/Unix/$(UNAME)-RelWithDebInfo-$(DEB_HOST_ARCH_BITS)
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq ($(findstring parallel=,$(DEB_BUILD_OPTIONS)),)
@@ -63,3 +68,7 @@ override_dh_install:
override_dh_makeshlibs:
dh_makeshlibs -Noce-draw
+
+
+override_dh_auto_test:
+ LD_LIBRARY_PATH=$(CURDIR)/$(DEBUG_PATH) dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/oce.git
More information about the debian-science-commits
mailing list