From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org,
Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
Subject: Re: [Buildroot] [PATCH 1/3] support/testing/infra/emulator.py: globally disable colors
Date: Sun, 15 Nov 2026 10:54:40 +0100 [thread overview]
Message-ID: <avmBV0EzSoXYHBab@windsurf> (raw)
In-Reply-To: <20261114222155.1450949-1-ju.o@free.fr>
On Sat, Nov 14, 2026 at 11:21:53PM +0100, Julien Olivain via buildroot wrote:
> Buildroot commit [1] disabled colors of the Python interpreter (which
> introduced automatic coloring in version 3.14). Those colors were
> introducing Python test failures.
>
> It appears that more an more programs, not only Python, are following
> this trend to enable colors when programs are running interactively
> on a terminal.
>
> Disabling those colors by setting the NO_COLOR environment variable
> is becoming common. See [2].
>
> This commit sets the NO_COLOR=1 environment variable to globally
> request to disable color in all runtime tests.
>
> [1] https://gitlab.com/buildroot.org/buildroot/-/commit/3a6e2b4a0395f6e049cd847cf16406a4d0d998ad
> [2] https://no-color.org/
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
Series applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-11-15 9:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 22:21 [Buildroot] [PATCH 1/3] support/testing/infra/emulator.py: globally disable colors Julien Olivain via buildroot
2026-11-14 22:21 ` [Buildroot] [PATCH 2/3] Revert "support/testing: test_python.py: disable interpreter colors" Julien Olivain via buildroot
2026-11-14 22:21 ` [Buildroot] [PATCH 3/3] support/testing: test_systemd: remove unneeded NO_COLOR=1 Julien Olivain via buildroot
2026-11-15 9:54 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=avmBV0EzSoXYHBab@windsurf \
--to=buildroot@buildroot.org \
--cc=ju.o@free.fr \
--cc=ricardo.martincoski@datacom.com.br \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox