]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mp_secondary.c
examples/pipeline: improve learner table timers
[dpdk.git] / app / test / test_mp_secondary.c
index 021ca0547f073a801b250bfc3bd9e2c1717012f8..ad47d578f22b71f3937a8b79102120bcad0a36fc 100644 (file)
 #include <errno.h>
 #include <string.h>
 #include <unistd.h>
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+int
+test_mp_secondary(void)
+{
+       printf("mp_secondary not supported on Windows, skipping test\n");
+       return TEST_SKIPPED;
+}
+#else
+
 #include <sys/wait.h>
 #include <libgen.h>
 #include <dirent.h>
@@ -211,4 +221,6 @@ test_mp_secondary(void)
        return run_object_creation_tests();
 }
 
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
 REGISTER_TEST_COMMAND(multiprocess_autotest, test_mp_secondary);