mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 10:26:11 +00:00
Fix a regression in the test run for the code coverage
This commit is contained in:
parent
af2ff2df38
commit
f5a56de66c
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -10,6 +10,7 @@ llvm-toolchain-snapshot (1:4.0~svn288822-1~exp1) experimental; urgency=medium
|
||||
- clang_EvalResult_getAsLongLong
|
||||
- clang_EvalResult_getAsLongLong
|
||||
- clang_EvalResult_isUnsignedInt
|
||||
* Fix a regression in the test run for the code coverage
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 06 Dec 2016 17:54:39 +0100
|
||||
|
||||
|
11
debian/rules
vendored
11
debian/rules
vendored
@ -83,17 +83,18 @@ ifeq (,$(filter-out $(DEB_HOST_ARCH), powerpc s390x))
|
||||
POLLY_ENABLE=no
|
||||
endif
|
||||
|
||||
RUN_TEST=yes
|
||||
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
|
||||
RUN_TEST=no
|
||||
endif
|
||||
|
||||
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
||||
# enable the code coverage
|
||||
CODECOVERAGE=yes
|
||||
# for -fvisibility-inlines-hidden see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130729/183016.html
|
||||
CXXFLAGS_EXTRA += -fprofile-arcs -ftest-coverage
|
||||
LDFLAGS_EXTRA += -coverage -lgcov
|
||||
endif
|
||||
|
||||
RUN_TEST=yes
|
||||
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
|
||||
RUN_TEST=no
|
||||
RUN_TEST=yes
|
||||
endif
|
||||
|
||||
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
||||
|
Loading…
Reference in New Issue
Block a user