FreeBSD does not have multiprocess support, so skip the secondary timer
autotest.

Bugzilla ID: 761 (partial fix)
Fixes: 50247fe03fe0 ("test/timer: exercise new APIs in secondary process")
Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
---
 app/test/test_timer_secondary.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_timer_secondary.c b/app/test/test_timer_secondary.c
index 57ab39130d..529774f4d0 100644
--- a/app/test/test_timer_secondary.c
+++ b/app/test/test_timer_secondary.c
@@ -18,11 +18,11 @@
 
 #include "test.h"
 
-#ifdef RTE_EXEC_ENV_WINDOWS
+#ifndef RTE_EXEC_ENV_LINUX
 int
 test_timer_secondary(void)
 {
-       printf("timer_secondary not supported on Windows, skipping test\n");
+       printf("timer_secondary only supported on Linux, skipping test\n");
        return TEST_SKIPPED;
 }
 #else
-- 
2.51.0

Reply via email to