[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <IA3PR11MB8986E4CC5927FAFF114E3A9AE591A@IA3PR11MB8986.namprd11.prod.outlook.com>
Date: Wed, 28 Jan 2026 17:32:53 +0000
From: "Loktionov, Aleksandr" <aleksandr.loktionov@...el.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>, Jonathan Corbet
<corbet@....net>, Linux Doc Mailing List <linux-doc@...r.kernel.org>, "Mauro
Carvalho Chehab" <mchehab@...nel.org>
CC: "bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, Peter Zijlstra
<peterz@...radead.org>, Randy Dunlap <rdunlap@...radead.org>, Shuah Khan
<skhan@...uxfoundation.org>, Stephen Rothwell <sfr@...b.auug.org.au>
Subject: RE: [Intel-wired-lan] [PATCH v2 23/25]
tools/lib/python/unittest_helper.py
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf
> Of Mauro Carvalho Chehab
> Sent: Wednesday, January 28, 2026 5:50 PM
> To: Jonathan Corbet <corbet@....net>; Linux Doc Mailing List <linux-
> doc@...r.kernel.org>; Mauro Carvalho Chehab <mchehab@...nel.org>
> Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>;
> bpf@...r.kernel.org; intel-wired-lan@...ts.osuosl.org; linux-
> kernel@...r.kernel.org; netdev@...r.kernel.org; Peter Zijlstra
> <peterz@...radead.org>; Randy Dunlap <rdunlap@...radead.org>; Shuah
> Khan <skhan@...uxfoundation.org>; Stephen Rothwell
> <sfr@...b.auug.org.au>
> Subject: [Intel-wired-lan] [PATCH v2 23/25]
> tools/lib/python/unittest_helper.py
>
Could be nice if you add proper commit title following subsystem: brief description format
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
> ---
> tools/lib/python/unittest_helper.py | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> diff --git a/tools/lib/python/unittest_helper.py
> b/tools/lib/python/unittest_helper.py
> index e438472fa704..3cf1075b1de4 100755
> --- a/tools/lib/python/unittest_helper.py
> +++ b/tools/lib/python/unittest_helper.py
> @@ -8,21 +8,7 @@
> Helper class to better display unittest results.
>
> Those help functions provide a nice colored output summary of each -
> executed test and, when a test fails, it shows the different in diff -
> format when running in verbose mode, like::
> -
> - $ tools/unittests/nested_match.py -v
> - ...
> - Traceback (most recent call last):
> - File "/new_devel/docs/tools/unittests/nested_match.py", line 69,
> in test_count_limit
> - self.assertEqual(replaced, "bar(a); bar(b); foo(c)")
> - ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> - AssertionError: 'bar(a) foo(b); foo(c)' != 'bar(a); bar(b);
> foo(c)'
> - - bar(a) foo(b); foo(c)
> - ? ^^^^
> - + bar(a); bar(b); foo(c)
> - ? ^^^^^
> - ...
> +executed test.
>
> It also allows filtering what tests will be executed via ``-k``
> parameter.
>
> --
> 2.52.0
Powered by blists - more mailing lists