[PATCH v3 0/2] Get fast-test suite to run on FreeBSD

Bruce Richardson
2026-04-08T17:44:13Z

The standard "fast-tests" suite is used to sanity-check large parts
of the DPDK codebase, but it failed to run successfully on FreeBSD,
with large numbers of failures. This is a long-standing issue reported
in Bugzilla back in 2021 as issue 761.

This set attempts to rectify this situation by allowing the suite
to run without errors. Mostly it does this by disabling test suites
that rely on features like multi-process which are unsupported on
FreeBSD. It also fixes the test_debug suite which should run on
BSD but was failing.

V3:
* fix typo in patch 1
* expand explanation in commit log of patch 2

v2:
* squash patches for fixes into patch 1
* separate patch for some cleanup of process spawning into patch 2 which
does not need backport

Bruce Richardson (2):
test: fix failing tests on FreeBSD
test: simplify spawning extra test processes

app/test/process.h | 20 ++------------------
app/test/test_debug.c | 6 +++---
app/test/test_eal_flags.c | 26 +++++++++++++-------------
app/test/test_external_mem.c | 4 ++--
app/test/test_interrupts.c | 2 +-
app/test/test_mp_secondary.c | 4 ++--
app/test/test_pdump.c | 4 ++++
app/test/test_timer_secondary.c | 4 ++--
8 files changed, 29 insertions(+), 41 deletions(-)

--
2.51.0