Makefile.top | 8 ++++++++ 1 file changed, 8 insertions(+) New commits: commit 01a6b0b0eb2103df594881e4e5ac3607f1177998 Author: Michael Stahl <mst...@redhat.com> Date: Fri Aug 24 11:55:28 2012 +0200
make it possible to run JunitTest and CppunitTest from Makefile.top Change-Id: Ib0286466403a0457420c708ac083051d28d087bb diff --git a/Makefile.top b/Makefile.top index 54fa900..399b523 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 # _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits