test/threads: add unit test
[dpdk.git] / app / test / test_table.c
index 9503414..d100666 100644 (file)
@@ -7,6 +7,16 @@
 #include <rte_string_fns.h>
 #include <string.h>
 #include "test.h"
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_table(void)
+{
+       printf("table not supported on Windows, skipping test\n");
+       return TEST_SKIPPED;
+}
+#else
+
 #include "test_table.h"
 #include "test_table_pipeline.h"
 #include "test_table_ports.h"
@@ -194,4 +204,6 @@ end:
        return ret;
 }
 
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
 REGISTER_TEST_COMMAND(table_autotest, test_table);