mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-12-28 21:30:16 +00:00
when building code coverage, do not run the lldb tests (freezing)
This commit is contained in:
parent
de883a41c0
commit
f2830edd2f
5
debian/rules
vendored
5
debian/rules
vendored
@ -124,6 +124,7 @@ ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
RUN_TEST=no
|
||||
endif
|
||||
|
||||
CODECOVERAGE=no
|
||||
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
||||
# enable the code coverage
|
||||
CODECOVERAGE=yes
|
||||
@ -710,7 +711,9 @@ ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
||||
if test ! -e _lldb.so; then \
|
||||
ln -s lldb/_lldb.so; \
|
||||
fi
|
||||
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/$(TARGET_BUILD)/lib/ $(MAKE) $(NJOBS) -C $(TARGET_BUILD) check-lldb || true
|
||||
if test "$(CODECOVERAGE)" = "no"; then \
|
||||
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/$(TARGET_BUILD)/lib/ $(MAKE) $(NJOBS) -C $(TARGET_BUILD) check-lldb || true; \
|
||||
fi
|
||||
# remove the workaround
|
||||
rm $(CURDIR)/$(TARGET_BUILD)/lib/python*/site-packages/_lldb.so
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user