summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-04-02 00:18:09 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-04-02 00:20:39 -0500
commitc09adb273cdba4b0d70e2274cd191f16ab09e407 (patch)
tree0f1e53e8939dbd0a847ce366194f3cdd90bb5695
parent9e6564a72aea10f1e910960bb7cb84471039e6e1 (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
-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 64d7d134bcd7..922a146361c2 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -214,6 +214,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)
@@ -221,6 +222,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)