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_eventdev.c
diff --git
a/app/test/test_eventdev.c
b/app/test/test_eventdev.c
index
27ca5a6
..
4f51042
100644
(file)
--- a/
app/test/test_eventdev.c
+++ b/
app/test/test_eventdev.c
@@
-2,17
+2,28
@@
* Copyright(c) 2016 Cavium, Inc
*/
* Copyright(c) 2016 Cavium, Inc
*/
+#include "test.h"
+
#include <rte_common.h>
#include <rte_hexdump.h>
#include <rte_mbuf.h>
#include <rte_malloc.h>
#include <rte_memcpy.h>
#include <rte_common.h>
#include <rte_hexdump.h>
#include <rte_mbuf.h>
#include <rte_malloc.h>
#include <rte_memcpy.h>
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_eventdev_common(void)
+{
+ printf("eventdev_common not supported on Windows, skipping test\n");
+ return TEST_SKIPPED;
+}
+
+#else
+
#include <rte_eventdev.h>
#include <rte_dev.h>
#include <rte_bus_vdev.h>
#include <rte_eventdev.h>
#include <rte_dev.h>
#include <rte_bus_vdev.h>
-#include "test.h"
-
#define TEST_DEV_ID 0
static int
#define TEST_DEV_ID 0
static int
@@
-1019,35
+1030,40
@@
test_eventdev_selftest_octeontx(void)
}
static int
}
static int
-test_eventdev_selftest_
octeontx
2(void)
+test_eventdev_selftest_
dpaa
2(void)
{
{
- return test_eventdev_selftest_impl("event_
octeontx
2", "");
+ return test_eventdev_selftest_impl("event_
dpaa
2", "");
}
static int
}
static int
-test_eventdev_selftest_d
paa
2(void)
+test_eventdev_selftest_d
lb
2(void)
{
{
- return test_eventdev_selftest_impl("
event_dpaa2
", "");
+ return test_eventdev_selftest_impl("
dlb2_event
", "");
}
static int
}
static int
-test_eventdev_selftest_
dlb
(void)
+test_eventdev_selftest_
cn9k
(void)
{
{
- return test_eventdev_selftest_impl("
dlb_event
", "");
+ return test_eventdev_selftest_impl("
event_cn9k
", "");
}
static int
}
static int
-test_eventdev_selftest_
dlb2
(void)
+test_eventdev_selftest_
cn10k
(void)
{
{
- return test_eventdev_selftest_impl("
dlb2_event
", "");
+ return test_eventdev_selftest_impl("
event_cn10k
", "");
}
}
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
REGISTER_TEST_COMMAND(eventdev_common_autotest, test_eventdev_common);
REGISTER_TEST_COMMAND(eventdev_common_autotest, test_eventdev_common);
+
+#ifndef RTE_EXEC_ENV_WINDOWS
REGISTER_TEST_COMMAND(eventdev_selftest_sw, test_eventdev_selftest_sw);
REGISTER_TEST_COMMAND(eventdev_selftest_octeontx,
test_eventdev_selftest_octeontx);
REGISTER_TEST_COMMAND(eventdev_selftest_sw, test_eventdev_selftest_sw);
REGISTER_TEST_COMMAND(eventdev_selftest_octeontx,
test_eventdev_selftest_octeontx);
-REGISTER_TEST_COMMAND(eventdev_selftest_octeontx2,
- test_eventdev_selftest_octeontx2);
REGISTER_TEST_COMMAND(eventdev_selftest_dpaa2, test_eventdev_selftest_dpaa2);
REGISTER_TEST_COMMAND(eventdev_selftest_dpaa2, test_eventdev_selftest_dpaa2);
-REGISTER_TEST_COMMAND(eventdev_selftest_dlb, test_eventdev_selftest_dlb);
REGISTER_TEST_COMMAND(eventdev_selftest_dlb2, test_eventdev_selftest_dlb2);
REGISTER_TEST_COMMAND(eventdev_selftest_dlb2, test_eventdev_selftest_dlb2);
+REGISTER_TEST_COMMAND(eventdev_selftest_cn9k, test_eventdev_selftest_cn9k);
+REGISTER_TEST_COMMAND(eventdev_selftest_cn10k, test_eventdev_selftest_cn10k);
+
+#endif /* !RTE_EXEC_ENV_WINDOWS */