]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_timer_secondary.c
app/test: count tests skipped at setup
[dpdk.git] / app / test / test_timer_secondary.c
index 5795c97f070b837484126fb94844ae8d6f8ac49b..4e220559b4e3fdf375659a73f913413a8e1d157b 100644 (file)
 #include <rte_random.h>
 
 #include "test.h"
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+int
+test_timer_secondary(void)
+{
+       printf("timer_secondary not supported on Windows, skipping test\n");
+       return TEST_SKIPPED;
+}
+#else
+
 #include "process.h"
 
 #define NUM_TIMERS             (1 << 20) /* ~1M timers */
@@ -212,4 +222,6 @@ test_timer_secondary(void)
        return TEST_FAILED;
 }
 
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
 REGISTER_TEST_COMMAND(timer_secondary_autotest, test_timer_secondary);