[PATCH v2 10/10] buildtools/get-test-suites: suppress empty output
Marat Khalili
marat.khalili at huawei.com
Fri Dec 5 11:29:38 CET 2025
> -----Original Message-----
> From: Bruce Richardson <bruce.richardson at intel.com>
> Sent: Thursday 4 December 2025 18:21
> To: dev at dpdk.org
> Cc: Bruce Richardson <bruce.richardson at intel.com>; stable at dpdk.org
> Subject: [PATCH v2 10/10] buildtools/get-test-suites: suppress empty output
>
> 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
Acked-by: Marat Khalili <marat.khalili at huawei.com>
More information about the dev
mailing list