[PATCH 6/7] test/interrupts: skip test on FreeBSD

Bruce Richardson
2026-03-19T17:14:29Z

FreeBSD does not have interrupt support for DPDK, so skip the test
associated with that functionality.

Bugzilla ID: 761 (partial fix)
Fixes: 764bf26873b9 ("add FreeBSD support")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/test/test_interrupts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_interrupts.c b/app/test/test_interrupts.c
index 2eb876e65a..3a5be92cd7 100644
--- a/app/test/test_interrupts.c
+++ b/app/test/test_interrupts.c
@@ -429,7 +429,7 @@ test_interrupt(void)
int ret = -1;
struct rte_intr_handle *test_intr_handle;

- if (RTE_EXEC_ENV_IS_WINDOWS)
+ if (RTE_EXEC_ENV_IS_WINDOWS || RTE_EXEC_ENV_IS_FREEBSD)
return TEST_SKIPPED;

if (test_interrupt_init() < 0) {
--
2.51.0