* Copyright(c) 2010-2014 Intel Corporation
*/
+#include "test.h"
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+
+static int
+test_pie(void)
+{
+ printf("pie not supported on Windows, skipping test\n");
+ return TEST_SKIPPED;
+}
+
+static int
+test_pie_perf(void)
+{
+ printf("pie_perf not supported on Windows, skipping test\n");
+ return TEST_SKIPPED;
+}
+
+static int
+test_pie_all(void)
+{
+ printf("pie_all not supported on Windows, skipping test\n");
+ return TEST_SKIPPED;
+}
+
+#else
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
-#include "test.h"
-
#include <rte_pie.h>
#ifdef __INTEL_COMPILER
return tell_the_result(num_tests, num_pass);
}
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
REGISTER_TEST_COMMAND(pie_autotest, test_pie);
REGISTER_TEST_COMMAND(pie_perf, test_pie_perf);
REGISTER_TEST_COMMAND(pie_all, test_pie_all);