git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/bnxt: fix null dereference in session cleanup
[dpdk.git]
/
app
/
test
/
test_sched.c
diff --git
a/app/test/test_sched.c
b/app/test/test_sched.c
index
958b631
..
ddec572
100644
(file)
--- a/
app/test/test_sched.c
+++ b/
app/test/test_sched.c
@@
-14,8
+14,17
@@
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_byteorder.h>
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_byteorder.h>
-#include <rte_sched.h>
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_sched(void)
+{
+ printf("sched not supported on Windows, skipping test\n");
+ return TEST_SKIPPED;
+}
+#else
+
+#include <rte_sched.h>
#define SUBPORT 0
#define PIPE 1
#define SUBPORT 0
#define PIPE 1
@@
-204,4
+213,6
@@
test_sched(void)
return 0;
}
return 0;
}
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
REGISTER_TEST_COMMAND(sched_autotest, test_sched);
REGISTER_TEST_COMMAND(sched_autotest, test_sched);