From fc62c7727a08dfb8ce171845b30fb0cd937918fc Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 3 Oct 2012 14:31:34 +0200 Subject: Allow also make .check. Change-Id: I55257cc5dbdffdc2dd9f9222a120f0a322dda7c8 --- Makefile.top | 3 +++ solenv/gbuild/gbuild.help.txt | 1 + 2 files changed, 4 insertions(+) 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 build the named module + .check run unittests of the named module .clean clean the named module .all build the named module and the pre-requisite modules for it .deliver for dmake modules only, deliver the named module -- cgit