Since there is no secondary process support on FreeBSD skip the unit
tests for that feature.
Bugzilla ID: 761 (partial fix)
Fixes: 764bf26873b9 ("add FreeBSD support")
Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]>
---
app/test/test_mp_secondary.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_mp_secondary.c b/app/test/test_mp_secondary.c
index 218eacb3bf..93fcfd735b 100644
--- a/app/test/test_mp_secondary.c
+++ b/app/test/test_mp_secondary.c
@@ -15,11 +15,11 @@
#include <string.h>
#include <unistd.h>
-#ifdef RTE_EXEC_ENV_WINDOWS
+#ifndef RTE_EXEC_ENV_LINUX
int
test_mp_secondary(void)
{
- printf("mp_secondary not supported on Windows, skipping test\n");
+ printf("Multiprocess support on present on Linux, skipping test\n");
return TEST_SKIPPED;
}
#else
--
2.51.0