Bug 1175895 - separate tier start message for mach; r=ted

This commit is contained in:
Mike Shal 2015-06-17 16:59:20 -04:00
parent a4f74e707c
commit b873e37540

View File

@ -119,10 +119,14 @@ AUTOMATION_EXTRA_CMDLINE-pretty-package-tests = -j1
# However, the target automation/buildsymbols will still be executed in this # However, the target automation/buildsymbols will still be executed in this
# case because it is a prerequisite of automation/upload. # case because it is a prerequisite of automation/upload.
define automation_commands define automation_commands
$(call BUILDSTATUS,TIER_START $1)
@$(MAKE) $1 $(AUTOMATION_EXTRA_CMDLINE-$1) @$(MAKE) $1 $(AUTOMATION_EXTRA_CMDLINE-$1)
$(call BUILDSTATUS,TIER_FINISH $1) $(call BUILDSTATUS,TIER_FINISH $1)
endef endef
automation/%: # The tier start message is in a separate target so make doesn't buffer it
# until the step completes with output syncing enabled.
automation-start/%:
$(if $(filter $*,$(MOZ_AUTOMATION_TIERS)),$(call BUILDSTATUS,TIER_START $*))
automation/%: automation-start/%
$(if $(filter $*,$(MOZ_AUTOMATION_TIERS)),$(call automation_commands,$*)) $(if $(filter $*,$(MOZ_AUTOMATION_TIERS)),$(call automation_commands,$*))