[PATCH v2 10/10] buildtools/get-test-suites: suppress empty output
Bruce Richardson
bruce.richardson at intel.com
Thu Dec 4 19:20:47 CET 2025
If there are no tests which are not assigned to a test suite, omit the
line printing the non_suite_tests. This avoid having error messages from
meson about test "" not being in any test suite.
Fixes: 25065ef1f6c0 ("test: emit warning for orphaned tests")
Cc: stable at dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
buildtools/get-test-suites.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/buildtools/get-test-suites.py b/buildtools/get-test-suites.py
index 73f1d9c9e1..36ed4bedc2 100644
--- a/buildtools/get-test-suites.py
+++ b/buildtools/get-test-suites.py
@@ -38,4 +38,5 @@ def get_fast_test_params(test_name, ln):
for suite in test_suites.keys():
print(f"{suite}={','.join(test_suites[suite])}")
-print(f"non_suite_tests={','.join(non_suite_tests)}")
+if non_suite_tests:
+ print(f"non_suite_tests={','.join(non_suite_tests)}")
--
2.51.0
More information about the dev
mailing list