diff --git a/debian/changelog b/debian/changelog index 1f9ef4d2..d9bb60e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 06 Dec 2016 17:54:39 +0100 diff --git a/debian/rules b/debian/rules index 1df5f9d5..d246c0ec 100755 --- a/debian/rules +++ b/debian/rules @@ -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)))