Skip to content
Permalink
Browse files

debian packages: only enable coverage tests for debug builds

  • Loading branch information
jef-n committed Feb 2, 2015
1 parent ee365bf commit 44880650588e2572ca304a6466951276ca23db2a
Showing with 4 additions and 1 deletion.
  1. +4 −1 debian/rules
@@ -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"))

0 comments on commit 4488065

Please sign in to comment.
You can’t perform that action at this time.