summaryrefslogtreecommitdiff
path: root/solenv/gbuild/CppunitTest.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-08-10 12:04:53 +0200
committerMichael Stahl <mstahl@redhat.com>2012-08-10 12:04:53 +0200
commit0354d5a202ed68fd0670ed07d54bd7085a88c74b (patch)
tree469c2ce83d4c4d15efebd111232430be121915e5 /solenv/gbuild/CppunitTest.mk
parent7530303bf9aeadf5423dcf1c78128a458a9588ba (diff)
gbuild: detect calls to removed gb_CppunitTest_use_extra_configuration
Change-Id: I8a5e8594e5af04bb4b40b900720ecdd7431788f6
Diffstat (limited to 'solenv/gbuild/CppunitTest.mk')
-rw-r--r--solenv/gbuild/CppunitTest.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 49bc472eb445..feaec22f1647 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -280,6 +280,10 @@ $(call gb_CppunitTest__use_configuration,$(1),module,$(gb_Configuration_registry
endef
+define gb_CppunitTest_use_extra_configuration
+$$(call gb_Output_error,gb_CppunitTest_use_extra_configuration: use gb_CppunitTest_use_unittest_configuration instead.))
+endef
+
# Use configuration in $(OUTDIR)/unittest/registry.
define gb_CppunitTest_use_unittest_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,test_unittest)