DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] add checks for tests not in a suite
@ 2023-09-15 11:52 Bruce Richardson
  2023-09-15 11:52 ` [PATCH 1/2] app/test: emit warning for tests not in a test suite Bruce Richardson
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Bruce Richardson @ 2023-09-15 11:52 UTC (permalink / raw)
  To: dev; +Cc: david.marchand, Bruce Richardson

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-10-02  9:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 11:52 [PATCH 0/2] add checks for tests not in a suite Bruce Richardson
2023-09-15 11:52 ` [PATCH 1/2] app/test: emit warning for tests not in a test suite Bruce Richardson
2023-09-15 11:52 ` [PATCH 2/2] devtools: check for tests added without " Bruce Richardson
2023-09-15 11:55 ` [PATCH 0/2] add checks for tests not in a suite Bruce Richardson
2023-09-19  8:29 ` David Marchand
2023-09-19  8:36   ` Bruce Richardson
2023-09-19  9:07     ` David Marchand
2023-09-26 15:01       ` Aaron Conole
2023-09-27  6:30         ` David Marchand
2023-09-27  8:26           ` Bruce Richardson
2023-09-27  9:31             ` David Marchand
2023-09-27  9:56               ` Bruce Richardson
2023-09-27 14:00                 ` Aaron Conole
2023-10-02  9:35             ` David Marchand
2023-10-02  9:35 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).