patch 'dts: fix test suite filtering' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Fri Mar 27 11:01:26 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/31/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/4b03e6190b0a210a654b3b157505f84e6fcc525a
Thanks.
Kevin
---
>From 4b03e6190b0a210a654b3b157505f84e6fcc525a Mon Sep 17 00:00:00 2001
From: Patrick Robb <probb at iol.unh.edu>
Date: Fri, 20 Mar 2026 17:02:16 -0400
Subject: [PATCH] dts: fix test suite filtering
[ upstream commit 00da6b883f3f9b124ab73cb7e809ddbd9f5242c5 ]
When a user includes a testsuite in their config while also
disallowing all of its respective testcases via the func,
perf, or crypto fields, the testcases will get filtered out
of the testrun, but the testsuite will remain as an empty
testsuite in the results summary. This patch enforces
filtering out testsuites which have had all of their
testcases filtered out.
Bugzilla ID: 1907
Fixes: ba648fb1a66a ("dts: isolate test specification to config")
Signed-off-by: Patrick Robb <probb at iol.unh.edu>
Reviewed-by: Luca Vizzarro <luca.vizzarro at arm.com>
Reviewed-by: Andrew Bailey <abailey at iol.unh.edu>
---
dts/framework/config/test_run.py | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/dts/framework/config/test_run.py b/dts/framework/config/test_run.py
index 6c292a3675..df505a963b 100644
--- a/dts/framework/config/test_run.py
+++ b/dts/framework/config/test_run.py
@@ -514,15 +514,16 @@ class TestRunConfiguration(FrozenModel):
test_suites += self.test_suites
- return (
- (
- t.test_suite_spec.class_obj,
- tests_config[t.test_suite_name],
- deque(
- tt
- for tt in t.test_cases
- if (tt.test_type is TestCaseType.FUNCTIONAL and self.func)
- or (tt.test_type is TestCaseType.PERFORMANCE and self.perf)
- ),
+ filtered_tests = []
+ for t in test_suites:
+ test_cases = deque(
+ tt
+ for tt in t.test_cases
+ if (tt.test_type is TestCaseType.FUNCTIONAL and self.func)
+ or (tt.test_type is TestCaseType.PERFORMANCE and self.perf)
)
- for t in test_suites
- )
+ # Only include test suites that have at least one test case after filtering
+ if test_cases:
+ filtered_tests.append(
+ (t.test_suite_spec.class_obj, tests_config[t.test_suite_name], test_cases)
+ )
+ return filtered_tests
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-27 09:58:26.907716465 +0000
+++ 0026-dts-fix-test-suite-filtering.patch 2026-03-27 09:58:26.152393142 +0000
@@ -1 +1 @@
-From 00da6b883f3f9b124ab73cb7e809ddbd9f5242c5 Mon Sep 17 00:00:00 2001
+From 4b03e6190b0a210a654b3b157505f84e6fcc525a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 00da6b883f3f9b124ab73cb7e809ddbd9f5242c5 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -22,2 +23,2 @@
- dts/framework/config/test_run.py | 27 ++++++++++++++-------------
- 1 file changed, 14 insertions(+), 13 deletions(-)
+ dts/framework/config/test_run.py | 25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
@@ -26 +27 @@
-index 39f2c7cdf6..76e24d1785 100644
+index 6c292a3675..df505a963b 100644
@@ -29 +30 @@
-@@ -516,16 +516,17 @@ class TestRunConfiguration(FrozenModel):
+@@ -514,15 +514,16 @@ class TestRunConfiguration(FrozenModel):
@@ -41 +41,0 @@
-- or (tt.test_type is TestCaseType.CRYPTO and self.crypto)
@@ -50 +49,0 @@
-+ or (tt.test_type is TestCaseType.CRYPTO and self.crypto)
More information about the stable
mailing list