docker: Don't allocate tty unless DEBUG=1
commit4b2c6bc563c13f242d92fe4f8f31d22b31788858
authorFam Zheng <famz@redhat.com>
Fri, 13 Oct 2017 01:19:54 +0000 (13 09:19 +0800)
committerFam Zheng <famz@redhat.com>
Fri, 20 Oct 2017 06:28:50 +0000 (20 14:28 +0800)
tree3e1799bc3b3657a2f618219339034b7056a2074e
parent063833a6ec2a6747e27c5f9866bb44c7e8de1265
docker: Don't allocate tty unless DEBUG=1

The existence of tty in the container seems to urge gcc into colorizing
the errors, but the escape chars will clutter the report once turned
into email replies on patchew. Move -t to debug mode.

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20171013011954.9975-1-famz@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/docker/Makefile.include