summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-04-02 00:18:09 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-23 23:23:27 -0500
commit398552182ca6933a3f1693c8ca793cc35cd5e20c (patch)
tree0273bb2f73bdb6200f0ae2df3ac8d733dad14899 /solenv
parent8c91ec1ab0b6f437b8b60ed9aee067f088fa4718 (diff)
Export NOCPPUNIT to disable all cppunit test in gbuild.
This is convinient when coding/debuging stuff that break unittest downstream, but oen still want to have a fully built product to test Change-Id: I4970db6ede1ed29bb3c421b56b5092c19fd9fa90
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Module.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index 20fbba54f121..435d1c9edfcc 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -235,6 +235,7 @@ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
endef
+ifeq ($(strip $(NOCPPUNIT)),)
define gb_Module_add_check_target
$(call gb_Module__read_targetfile,$(1),$(2),check target)
@@ -242,6 +243,7 @@ $(call gb_Module_get_check_target,$(1)) : $$(gb_Module_CURRENTTARGET)
$(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
endef
+endif # NOCPPUNIT
define gb_Module_add_slowcheck_target
$(call gb_Module__read_targetfile,$(1),$(2),slowcheck target)