summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-10-03 14:31:34 +0200
committerJan Holesovsky <kendy@suse.cz>2012-10-03 14:31:55 +0200
commitfc62c7727a08dfb8ce171845b30fb0cd937918fc (patch)
tree0e62e02f28080bae37c703e080d2f891637506d0
parent6ded01b0762554e2d90fef6557a0cdae2e0c7a2b (diff)
Allow also make <module>.check.
Change-Id: I55257cc5dbdffdc2dd9f9222a120f0a322dda7c8
-rw-r--r--Makefile.top3
-rw-r--r--solenv/gbuild/gbuild.help.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.top b/Makefile.top
index bb4f73e8c11d..8e1833f0f4b3 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 3b15639bd326..b6707ebd8ff0 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