Fix a regression in the test run for the code coverage

This commit is contained in:
Sylvestre Ledru 2016-12-29 22:52:46 +00:00
parent af2ff2df38
commit f5a56de66c
2 changed files with 7 additions and 5 deletions

1
debian/changelog vendored
View File

@ -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
View File

@ -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)))