[PATCH v3 0/8] refactor kvargs test

Chengwen Feng fengchengwen at huawei.com
Tue Oct 22 08:14:23 CEST 2024


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.

And add myself for voluntary maintenance of the kvargs library.

[1] https://patchwork.dpdk.org/project/dpdk/cover/20231103073811.13196-1-fengchengwen@huawei.com/

Chengwen Feng (8):
  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
  maintainers: update for kvargs library

---
v3: add rte_kvargs_process_opt()'s testcase.
v2: remove copyright line and add Stephen's ack.

 MAINTAINERS            |   1 +
 app/test/test_kvargs.c | 326 +++++++++++++++++++++++++----------------
 2 files changed, 200 insertions(+), 127 deletions(-)

-- 
2.17.1



More information about the dev mailing list