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
ixgbe: select pool by MAC when using double VLAN
[dpdk.git]
/
app
/
test
/
test_logs.c
diff --git
a/app/test/test_logs.c
b/app/test/test_logs.c
index
67daa5b
..
18a3b6a
100644
(file)
--- a/
app/test/test_logs.c
+++ b/
app/test/test_logs.c
@@
-40,7
+40,6
@@
#include <rte_memory.h>
#include <rte_memzone.h>
#include <rte_launch.h>
#include <rte_memory.h>
#include <rte_memzone.h>
#include <rte_launch.h>
-#include <rte_tailq.h>
#include <rte_eal.h>
#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_eal.h>
#include <rte_per_lcore.h>
#include <rte_lcore.h>
@@
-59,7
+58,7
@@
* - Send logs with different types and levels, some should not be displayed.
*/
* - Send logs with different types and levels, some should not be displayed.
*/
-int
+
static
int
test_logs(void)
{
/* enable these logs type */
test_logs(void)
{
/* enable these logs type */
@@
-90,3
+89,9
@@
test_logs(void)
return 0;
}
return 0;
}
+
+static struct test_command logs_cmd = {
+ .command = "logs_autotest",
+ .callback = test_logs,
+};
+REGISTER_TEST_COMMAND(logs_cmd);