[Libreoffice-commits] .: Makefile.top solenv/gbuild

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 3 05:32:26 PDT 2012


 Makefile.top                  |    3 +++
 solenv/gbuild/gbuild.help.txt |    1 +
 2 files changed, 4 insertions(+)

New commits:
commit fc62c7727a08dfb8ce171845b30fb0cd937918fc
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Oct 3 14:31:34 2012 +0200

    Allow also make <module>.check.
    
    Change-Id: I55257cc5dbdffdc2dd9f9222a120f0a322dda7c8

diff --git a/Makefile.top b/Makefile.top
index bb4f73e..8e1833f 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -270,6 +270,9 @@ $(1).all: bootstrap fetch
 	) \
 	$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
 
+$(1).check:
+	cd $(1) && $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) check gb_PARTIALBUILD=T
+
 $(1).clean:
 	cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) clean gb_PARTIALBUILD=T
 
diff --git a/solenv/gbuild/gbuild.help.txt b/solenv/gbuild/gbuild.help.txt
index 3b15639..b6707eb 100644
--- a/solenv/gbuild/gbuild.help.txt
+++ b/solenv/gbuild/gbuild.help.txt
@@ -39,6 +39,7 @@ AVAILABLE TARGETS
        debugrun         starts the dev-install instance and allows tests to be run
                         against it
        <module>         build the named module
+       <module>.check   run unittests of the named module
        <module>.clean   clean the named module
        <module>.all     build the named module and the pre-requisite modules for it
        <module>.deliver for dmake modules only, deliver the named module


More information about the Libreoffice-commits mailing list