test/threads: add unit test
[dpdk.git] / app / test / test_eal_fs.c
index 39ac696..b3686ed 100644 (file)
 
 #include "eal_filesystem.h"
 
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_eal_fs(void)
+{
+       printf("eal_fs not supported on Windows, skipping test\n");
+       return TEST_SKIPPED;
+}
+
+#else
+
 static int
 test_parse_sysfs_value(void)
 {
@@ -173,4 +183,6 @@ test_eal_fs(void)
        return 0;
 }
 
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
 REGISTER_TEST_COMMAND(eal_fs_autotest, test_eal_fs);