make it possible to run JunitTest and CppunitTest from Makefile.top

Change-Id: Ib0286466403a0457420c708ac083051d28d087bb
This commit is contained in:
Michael Stahl
2012-08-24 11:55:28 +02:00
parent 629cd5e1fc
commit 01a6b0b0eb

View File

@@ -313,6 +313,14 @@ $(eval $(call gbuild_modules_rules,$(gbuild_modules)))
$(eval $(call dmake_modules_rules,$(dmake_modules)))
# run a JunitTest - relies on naming convention (module prefix)
$(WORKDIR)/JunitTest/%/done :
cd $(firstword $(subst _, ,$*)) && $(GNUMAKE) $(GMAKE_OPTIONS) $@ gb_PARTIALBUILD=T
# run a CppunitTest - relies on naming convention (module prefix)
$(WORKDIR)/CppunitTest/%.test :
cd $(firstword $(subst _, ,$*)) && $(GNUMAKE) $(GMAKE_OPTIONS) $@ gb_PARTIALBUILD=T
#
# Clean
#