Skip to content

improve net/null dependency handling for tests

Bruce Richardson dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v13 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4test/event_eth_rx_adapter: skip tests if no ethdevsapp/test/test_event_eth_rx_adapter.c+10 -40 replies
2/4test/event_eth_tx_adapter: remove dependency on NULL PMDapp/test/test_event_eth_tx_adapter.c+4 -00 replies
3/4test: fix missing dependency on null networking driverapp/test/meson.build+2 -20 replies
4/4build/tests: add warning for missing NULL PMD dependencyapp/test/meson.build+6 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMorten Brørup
SeriesSeries-acked-by
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] improve net/null dependency handling for tests

A number of unit tests take advantage of net_null driver to use as a dummy packet source. When this driver is disabled we then get tests failures in fast-tests. Fix these by recording the dependency appropriately or by skipping test sections if the dependency isn't present.

V2: reworked changes following feedback, discussion and other upstream
changes

Bruce Richardson (4):
test/event_eth_rx_adapter: skip tests if no ethdevs test/event_eth_tx_adapter: remove dependency on NULL PMD
test: fix missing dependency on null networking driver build/tests: add warning for missing NULL PMD dependency

 app/test/meson.build                 | 10 ++++++++--
 app/test/test_event_eth_rx_adapter.c | 14 ++++++++++----
 app/test/test_event_eth_tx_adapter.c |  4 ++++
 3 files changed, 22 insertions(+), 6 deletions(-)

--
2.51.0