mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
debian packages: only enable coverage tests for debug builds
This commit is contained in:
parent
ee365bfcb5
commit
4488065058
5
debian/rules
vendored
5
debian/rules
vendored
@ -92,12 +92,15 @@ endif
|
||||
|
||||
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||
CMAKE_OPTS += -DCMAKE_BUILD_TYPE=Debug
|
||||
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
CMAKE_OPTS += -DENABLE_COVERAGE=TRUE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
CMAKE_OPTS += -DENABLE_TESTS=FALSE
|
||||
else
|
||||
CMAKE_OPTS += -DENABLE_TESTS=TRUE -DENABLE_COVERAGE=TRUE
|
||||
CMAKE_OPTS += -DENABLE_TESTS=TRUE
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"wheezy jessie trusty sid sid-oracle"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user