]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: py: color the basics in the output
authorJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 21:54:44 +0000 (14:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Apr 2026 00:47:59 +0000 (17:47 -0700)
commit3b45559f6c0af0eaf8a91dfc1037a423337cf21d
treeff7a86dfd3a4acb705b7754a2b47c4f0ee6644f2
parent3741f8fa004bf598cd5032b0ff240984332d6f05
selftests: net: py: color the basics in the output

Sometimes it's hard to spot the ok / not ok lines in the output.
This is especially true for the GRO tests which retries a lot
so there's a wall of non-fatal output printed.

Try to color the crucial lines green / red / yellow when running
in a terminal.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Acked-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260402215444.1589893-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/ksft.py