mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1893677 - Stop making some automation tiers print their own BUILDSTATUS. r=firefox-build-system-reviewers,ahochheiden
Some automation tiers ultimately end up calling normal tiers, which will print their own BUILDSTATUS already. This kind of didn't cause problems before bug 1859011 presumably because of buffering of the automation tier output, but is now causing problems because the tier monitor doesn't want to see a tier start multiple times. Also, now that bug 1859011 made automation tiers buffered by command rather than by target, we don't need the hack with automation-start, simplifying the setup. Differential Revision: https://phabricator.services.mozilla.com/D209095
This commit is contained in:
parent
96f9a95ae2
commit
8b46fa4da5
@ -73,15 +73,15 @@ endif
|
||||
MOZ_AUTOMATION_TIERS := $(foreach sym,$(moz_automation_symbols),$(if $(filter 1,$($(sym))),$(tier_$(sym))))
|
||||
|
||||
# Dependencies between automation build steps
|
||||
automation-start/uploadsymbols: automation/buildsymbols
|
||||
automation/uploadsymbols: automation/buildsymbols
|
||||
|
||||
automation-start/upload: automation/package
|
||||
automation-start/upload: automation/package-tests
|
||||
automation-start/upload: automation/buildsymbols
|
||||
automation-start/upload: automation/package-generated-sources
|
||||
automation/upload: automation/package
|
||||
automation/upload: automation/package-tests
|
||||
automation/upload: automation/buildsymbols
|
||||
automation/upload: automation/package-generated-sources
|
||||
|
||||
# Run the check tier after everything else.
|
||||
automation-start/check: $(addprefix automation/,$(filter-out check,$(MOZ_AUTOMATION_TIERS)))
|
||||
automation/check: $(addprefix automation/,$(filter-out check,$(MOZ_AUTOMATION_TIERS)))
|
||||
|
||||
automation/build: $(addprefix automation/,$(MOZ_AUTOMATION_TIERS))
|
||||
@echo Automation steps completed.
|
||||
@ -96,13 +96,9 @@ AUTOMATION_EXTRA_CMDLINE-check = --keep-going
|
||||
# case because it is a prerequisite of automation/upload.
|
||||
define automation_commands
|
||||
@+$(PYTHON3) $(topsrcdir)/config/run-and-prefix.py $1 $(MAKE) $1 $(AUTOMATION_EXTRA_CMDLINE-$1)
|
||||
$(call BUILDSTATUS,TIER_FINISH $1)
|
||||
endef
|
||||
|
||||
# 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/%
|
||||
automation/%:
|
||||
$(if $(filter $*,$(filter-out $(ALL_TIERS),$(MOZ_AUTOMATION_TIERS))),$(call BUILDSTATUS,TIER_START $*))
|
||||
$(if $(filter $*,$(MOZ_AUTOMATION_TIERS)),$(call automation_commands,$*))
|
||||
$(if $(filter $*,$(filter-out $(ALL_TIERS),$(MOZ_AUTOMATION_TIERS))),$(call BUILDSTATUS,TIER_FINISH $*))
|
||||
|
Loading…
Reference in New Issue
Block a user