[PATCH v4 0/7] refactor kvargs test

lihuisong (C) lihuisong at huawei.com
Fri Nov 1 03:26:33 CET 2024


For this series,
Acked-by: Huisong Li <lihuisong at huawei.com>
在 2024/10/30 16:54, Chengwen Feng 写道:
> When developing patchset [1], I found the kvargs test is hard to
> understand when tried to add some testcase.
>
> So refactor kvargs by:
> 1. introduce UT suite framework.
> 2. extract big test_valid_kvargs() to five part.
> 3. add new introduced rte_kvargs_process_opt() UT.
>
> [1] https://patchwork.dpdk.org/project/dpdk/cover/20231103073811.13196-1-fengchengwen@huawei.com/
>
> Chengwen Feng (7):
>    app/test: introduce UT suite framework for kvargs
>    app/test: extract basic token count testcase for kvargs
>    app/test: extract without keys testcase for kvargs
>    app/test: extract with keys testcase for kvargs
>    app/test: extract parse list value testcase for kvargs
>    app/test: extract parse empty elements testcase for kvargs
>    app/test: add process opt testcase for kvargs
>
> ---
> v4: remove maintainer commit.
> v3: add rte_kvargs_process_opt()'s testcase.
> v2: remove copyright line and add Stephen's ack.
>
>   app/test/test_kvargs.c | 326 +++++++++++++++++++++++++----------------
>   1 file changed, 199 insertions(+), 127 deletions(-)
>


More information about the dev mailing list