mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-06 09:53:20 +00:00
Try to disable the execution of the testsuite for scan-build & coverity
for real
This commit is contained in:
parent
48d95a0b51
commit
b553daa10e
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -3,6 +3,8 @@ llvm-toolchain-snapshot (1:4.0~svn279916-2) UNRELEASED; urgency=medium
|
|||||||
* clang_getAllSkippedRanges in the list of libclang1 symbols
|
* clang_getAllSkippedRanges in the list of libclang1 symbols
|
||||||
* Port to kfreebsd. Many thanks to Pino Toscano
|
* Port to kfreebsd. Many thanks to Pino Toscano
|
||||||
(Closes: #835665)
|
(Closes: #835665)
|
||||||
|
* Try to disable the execution of the testsuite for scan-build & coverity
|
||||||
|
for real
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 27 Aug 2016 20:15:58 +0200
|
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 27 Aug 2016 20:15:58 +0200
|
||||||
|
|
||||||
|
12
debian/rules
vendored
12
debian/rules
vendored
@ -88,6 +88,11 @@ ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
|||||||
LDFLAGS_EXTRA += -coverage -lgcov
|
LDFLAGS_EXTRA += -coverage -lgcov
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
RUN_TEST=yes
|
||||||
|
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
|
RUN_TEST=no
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
||||||
# enable the build using scan-build
|
# enable the build using scan-build
|
||||||
# The package are installed through the variable declarations:
|
# The package are installed through the variable declarations:
|
||||||
@ -96,7 +101,7 @@ ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
|||||||
PRE_PROCESS=scan-build-$(LLVM_VERSION) --show-description -analyzer-config stable-report-filename=true -enable-checker optin.performance.Padding
|
PRE_PROCESS=scan-build-$(LLVM_VERSION) --show-description -analyzer-config stable-report-filename=true -enable-checker optin.performance.Padding
|
||||||
PRE_PROCESS_CONF=scan-build-$(LLVM_VERSION)
|
PRE_PROCESS_CONF=scan-build-$(LLVM_VERSION)
|
||||||
# no need to run tests in this case
|
# no need to run tests in this case
|
||||||
DEB_BUILD_OPTIONS+=" nocheck"
|
RUN_TEST=no
|
||||||
CONFIGURE_EXTRA += --enable-assertions
|
CONFIGURE_EXTRA += --enable-assertions
|
||||||
CMAKE_EXTRA += -DLLVM_ENABLE_ASSERTIONS=ON
|
CMAKE_EXTRA += -DLLVM_ENABLE_ASSERTIONS=ON
|
||||||
endif
|
endif
|
||||||
@ -113,7 +118,7 @@ ifneq (,$(filter coverity,$(DEB_BUILD_OPTIONS)))
|
|||||||
CONFIGURE_EXTRA += --enable-assertions
|
CONFIGURE_EXTRA += --enable-assertions
|
||||||
CMAKE_EXTRA += -DLLVM_ENABLE_ASSERTIONS=ON
|
CMAKE_EXTRA += -DLLVM_ENABLE_ASSERTIONS=ON
|
||||||
# no need to run tests in this case
|
# no need to run tests in this case
|
||||||
DEB_BUILD_OPTIONS+=" nocheck"
|
RUN_TEST=no
|
||||||
else
|
else
|
||||||
COVERITY_ENABLE=0
|
COVERITY_ENABLE=0
|
||||||
endif
|
endif
|
||||||
@ -437,8 +442,7 @@ override_dh_installdeb:
|
|||||||
# Remove auto generated python pyc
|
# Remove auto generated python pyc
|
||||||
find $(CURDIR)/debian/llvm-$(LLVM_VERSION)-tools/usr/lib/llvm-$(LLVM_VERSION)/ -name '*.pyc' | xargs -r rm -f
|
find $(CURDIR)/debian/llvm-$(LLVM_VERSION)-tools/usr/lib/llvm-$(LLVM_VERSION)/ -name '*.pyc' | xargs -r rm -f
|
||||||
|
|
||||||
|
ifeq (${RUN_TEST},yes)
|
||||||
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
|
|
||||||
# List of the archs we know we have 100 % tests working
|
# List of the archs we know we have 100 % tests working
|
||||||
ARCH_LLVM_TEST_OK := i386 amd64
|
ARCH_LLVM_TEST_OK := i386 amd64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user