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
tile: fix build
[dpdk.git]
/
app
/
test
/
test_memory.c
diff --git
a/app/test/test_memory.c
b/app/test/test_memory.c
index
6c62de8
..
921bdc8
100644
(file)
--- a/
app/test/test_memory.c
+++ b/
app/test/test_memory.c
@@
-51,11
+51,12
@@
* - Try to read all memory; it should not segfault.
*/
-int
+
static
int
test_memory(void)
{
uint64_t s;
- unsigned i, j;
+ unsigned i;
+ size_t j;
const struct rte_memseg *mem;
/*
@@
-84,3
+85,5
@@
test_memory(void)
return 0;
}
+
+REGISTER_TEST_COMMAND(memory_autotest, test_memory);