From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2wN5-0003uC-Uf for qemu-devel@nongnu.org; Fri, 13 Oct 2017 05:35:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2wN1-0008Pa-Sl for qemu-devel@nongnu.org; Fri, 13 Oct 2017 05:35:11 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:52339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2wN1-0008P8-MC for qemu-devel@nongnu.org; Fri, 13 Oct 2017 05:35:07 -0400 Received: by mail-wm0-x229.google.com with SMTP id k4so20106940wmc.1 for ; Fri, 13 Oct 2017 02:35:07 -0700 (PDT) References: <20171013011954.9975-1-famz@redhat.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <20171013011954.9975-1-famz@redhat.com> Date: Fri, 13 Oct 2017 10:35:04 +0100 Message-ID: <87mv4v9yrb.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] docker: Don't allocate tty unless DEBUG=1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, Eric Blake , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Fam Zheng writes: > The existence of tty in the container seems to urge gcc into colorize > the output, but the escape chars will clutter the report once turned > into email replies on patchew. Move -t to debug mode. > > Reported-by: Eric Blake > Signed-off-by: Fam Zheng I certainly improves my Emacs compilation-mode buffer when applied: Reviewed-by: Alex Benn=C3=A9e > --- > tests/docker/Makefile.include | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include > index 6f9ea196a7..ab939f2bec 100644 > --- a/tests/docker/Makefile.include > +++ b/tests/docker/Makefile.include > @@ -134,10 +134,10 @@ docker-run: docker-qemu-src > " COPYING $(EXECUTABLE) to $(IMAGE)")) > $(call quiet-command, \ > $(SRC_PATH)/tests/docker/docker.py run \ > - $(if $(NOUSER),,-u $(shell id -u)) -t \ > + $(if $(NOUSER),,-u $(shell id -u)) \ > --security-opt seccomp=3Dunconfined \ > $(if $V,,--rm) \ > - $(if $(DEBUG),-i,) \ > + $(if $(DEBUG),-ti,) \ > $(if $(NETWORK),$(if $(subst $(NETWORK),,1),--net=3D$(NETWORK)),--net= =3Dnone) \ > -e TARGET_LIST=3D$(TARGET_LIST) \ > -e EXTRA_CONFIGURE_OPTS=3D"$(EXTRA_CONFIGURE_OPTS)" \ -- Alex Benn=C3=A9e