summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-03 18:49:25 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-04 21:34:33 +0200
commitbbadfca2cad32f1da9cca225df0b12cdde84d593 (patch)
tree0725aeafddaf955df71cc5a8dfce808e6b506e56 /solenv
parent457e0aef522583675247029e77cb212fb65d6cd1 (diff)
refactor make check to run subsequentcheck parallel to instset
... which saves 4 minutes on a "make check" here, when configured --with-package-format="archive" Change-Id: I415e0e95ae7f4e289fa4797643f5d744015d80ad
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Module.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index 7b3aad94fbf6..98930ed1ccd4 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -229,10 +229,14 @@ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
endef
+# has order dependency on AllModulesButInstsetNative to be able to run
+# subsequentcheck in the same make process on "make check"
define gb_Module_add_subsequentcheck_target
$(call gb_Module__read_targetfile,$(1),$(2),subsequentcheck target)
$(call gb_Module_get_subsequentcheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+$$(gb_Module_CURRENTTARGET) :| \
+ $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
$(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
endef