Skip to content

add checks for tests not in a suite

Bruce Richardson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2app/test: emit warning for tests not in a test suiteapp/test/suites/meson.build buildtools/get-test-suites.py+21 -40 replies
2/2devtools: check for tests added without a test suitedevtools/checkpatches.sh+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] add checks for tests not in a suite

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

 app/test/suites/meson.build   | 13 ++++++++++++-
 buildtools/get-test-suites.py | 12 +++++++++---
 devtools/checkpatches.sh      |  8 ++++++++
 3 files changed, 29 insertions(+), 4 deletions(-)

--
2.39.2