[PATCH 0/2] add checks for tests not in a suite
Bruce Richardson
bruce.richardson at intel.com
Fri Sep 15 13:55:13 CEST 2023
On Fri, Sep 15, 2023 at 12:52:04PM +0100, Bruce Richardson wrote:
> To help ensure that we don't have "orphaned" tests not in any test
> suites we can add the following checks:
>
> * In developer-mode builds, emit a warning for each test defined using
> REGISTER_TEST_COMMAND
> * In checkpatches, add a check to prevent the addition of new tests
> using the REGISTER_TEST_COMMAND macro
>
> Bruce Richardson (2):
> app/test: emit warning for tests not in a test suite
> devtools: check for tests added without a test suite
>
While not required, if testing this set, it's recommended to apply patch
[1] from David first, to reduce the warning count visible.
/Bruce
[1] http://patches.dpdk.org/project/dpdk/patch/20230915075801.288931-1-david.marchand@redhat.com/
More information about the dev
mailing list