From 01a6b0b0eb2103df594881e4e5ac3607f1177998 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 24 Aug 2012 11:55:28 +0200 Subject: [PATCH] make it possible to run JunitTest and CppunitTest from Makefile.top Change-Id: Ib0286466403a0457420c708ac083051d28d087bb --- Makefile.top | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.top b/Makefile.top index 54fa9003f1c1..399b5239be4a 100644 --- a/Makefile.top +++ b/Makefile.top @@ -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 #