From b873e3754012d4f27ac92d5b9d1bf6623946754c Mon Sep 17 00:00:00 2001 From: Mike Shal Date: Wed, 17 Jun 2015 16:59:20 -0400 Subject: [PATCH] Bug 1175895 - separate tier start message for mach; r=ted --- build/moz-automation.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/moz-automation.mk b/build/moz-automation.mk index a3ca9c9b9f0..3f424316cce 100644 --- a/build/moz-automation.mk +++ b/build/moz-automation.mk @@ -119,10 +119,14 @@ AUTOMATION_EXTRA_CMDLINE-pretty-package-tests = -j1 # However, the target automation/buildsymbols will still be executed in this # case because it is a prerequisite of automation/upload. define automation_commands -$(call BUILDSTATUS,TIER_START $1) @$(MAKE) $1 $(AUTOMATION_EXTRA_CMDLINE-$1) $(call BUILDSTATUS,TIER_FINISH $1) 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,$*))