Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
debian packages: only enable coverage tests for debug builds
  • Loading branch information
jef-n committed Feb 2, 2015
1 parent ee365bf commit 4488065
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion debian/rules
Expand Up @@ -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"))
Expand Down

0 comments on commit 4488065

Please sign in to comment.