Bug 1859011 - avoid prefixing BUILDSTATUS lines, r=glandium.

Differential Revision: https://phabricator.services.mozilla.com/D208580
This commit is contained in:
Florian Quèze 2024-04-26 05:30:50 +00:00
parent 68fe1cfd41
commit b3b4d143a6
2 changed files with 5 additions and 4 deletions

View File

@ -29,9 +29,7 @@ MOZ_AUTOMATION_CHECK := 0
endif
ifneq (,$(filter automation/%,$(MAKECMDGOALS)))
ifeq (4.0,$(firstword $(sort 4.0 $(MAKE_VERSION))))
MAKEFLAGS += --output-sync=target
else
ifneq (4.0,$(firstword $(sort 4.0 $(MAKE_VERSION))))
.NOTPARALLEL:
endif
endif

View File

@ -31,6 +31,9 @@ while True:
if data == b"":
break
sys.stdout.write(b"%s> %s" % (prefix, data))
if data.startswith(b"BUILDSTATUS"):
sys.stdout.write(data)
else:
sys.stdout.write(b"%s> %s" % (prefix, data))
sys.exit(p.wait())