create symlink to make the lldb testsuite to run

This commit is contained in:
Sylvestre Ledru 2017-01-07 19:12:27 +00:00
parent 94448773e3
commit f3a81d3286

3
debian/rules vendored
View File

@ -492,6 +492,9 @@ endif
# LLDB tests # LLDB tests
ifeq (,$(filter $(DEB_HOST_ARCH), $(LLDB_DISABLE_ARCHS) armhf armel)) ifeq (,$(filter $(DEB_HOST_ARCH), $(LLDB_DISABLE_ARCHS) armhf armel))
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS))) ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
# Create a symlink to run the testsuite: see https://bugs.archlinux.org/task/50759
cd $(CURDIR)/$(TARGET_BUILD)/lib/python*/site-packages/lldb/; \
n -s lldb/_lldb.so
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/$(TARGET_BUILD)/lib/ $(MAKE) $(NJOBS) -C $(TARGET_BUILD) check-lldb || true LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/$(TARGET_BUILD)/lib/ $(MAKE) $(NJOBS) -C $(TARGET_BUILD) check-lldb || true
endif endif
endif endif