[PATCH 5/7] test/external_memory: skip test on FreeBSD

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

FreeBSD doesn't support external memory, so skip the test.

Bugzilla ID: 761 (partial fix)
Fixes: b270daa43b3d ("test: support external memory")
Cc: stable@dpdk.org

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

diff --git a/app/test/test_external_mem.c b/app/test/test_external_mem.c
index 1c977b749b..53300983ed 100644
--- a/app/test/test_external_mem.c
+++ b/app/test/test_external_mem.c
@@ -10,11 +10,11 @@
#include <string.h>
#include <fcntl.h>

-#ifdef RTE_EXEC_ENV_WINDOWS
+#ifndef RTE_EXEC_ENV_LINUX
static int
test_external_mem(void)
{
- printf("external_mem not supported on Windows, skipping test\n");
+ printf("external_mem only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}

--
2.51.0