From nobody Sun Feb 8 17:37:06 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E6B0378830; Wed, 28 Jan 2026 16:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769619038; cv=none; b=sWgtO++odJuGDHi5WZF5+XbrApxXUDJXsGzCuaiJN4YmsnmUNAs6E902/CAIJhEDZ8H9/ETBmFTWEsT8ahuETV8AkCgmx69dv1osrj6UK6ybPVPX3SYzXQGmAKxI2YXGUC/xQ5NGlM4OFsHKFCTQfS6pE2oZ7nV6y44Q/HAYjHk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769619038; c=relaxed/simple; bh=xPgXK1Bxhql6KwBQMghZiM8porm1utQ6AVnpiugaqXI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GLMGZQuYFL+a1zDwDkpqANqcjxeZQVBS2iR736h88CqjsGLWEH+2FfmDscfyP7OegUxmtI2eC3/CPhI6xkplAR+A4rhuuqAfodWoYEt3ox3VC1YDYz7x24t/c0HKLjbH62C/oXIIR4tB7vhN7EWEhzUYmF1Qwb0yur4ggtcB2MA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L52Is0d2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L52Is0d2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF896C4CEF7; Wed, 28 Jan 2026 16:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769619038; bh=xPgXK1Bxhql6KwBQMghZiM8porm1utQ6AVnpiugaqXI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L52Is0d2Mam9VJ+4YyKHw1zLjYczDjF+baeNR4vHB26sFkhUBDLbAVrQFv2uTDSKC d7cLGmgpmI93G/ZRxWuZS8P4LzgHpLLntNDVJTs163AvSVDSS326iDw8yHfbJzXAUs 7akuYBSCS1QjtWefJUVP8iWzgl7unab3zdzhgTO5+ygwLEdzTljtWwYIfnlwAqxRUQ ZaHiv9HLvtufnVmn1+/piCFM3ZQogA3HNU/VunJZQKYtI/bUm4ljfWDkxUfexL0VRA LSdCAMa0h/oR+dWNMSlAFb00nE5+7b24OayJ0TKOejbCXpe0ulDsf0383a+/LA+Xed JMZ2p1xI9Zk9g== Received: from mchehab by mail.kernel.org with local (Exim 4.99.1) (envelope-from ) id 1vl8kW-0000000DBB4-0bdW; Wed, 28 Jan 2026 17:50:36 +0100 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List , Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , bpf@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Peter Zijlstra , Randy Dunlap , Shuah Khan , Stephen Rothwell Subject: [PATCH v2 23/25] tools/lib/python/unittest_helper.py Date: Wed, 28 Jan 2026 17:50:21 +0100 Message-ID: X-Mailer: git-send-email 2.52.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- 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/unittes= t_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. =20 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 te= st_count_limit - self.assertEqual(replaced, "bar(a); bar(b); foo(c)") - ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - AssertionError: 'bar(a) foo(b); foo(c)' !=3D 'bar(a); bar(b); foo(c)' - - bar(a) foo(b); foo(c) - ? ^^^^ - + bar(a); bar(b); foo(c) - ? ^^^^^ - ... +executed test. =20 It also allows filtering what tests will be executed via ``-k`` parameter. =20 --=20 2.52.0