X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest%2Ftest_memory.c;h=921bdc88338721b745ef0ff96e981b03d2a29222;hb=5d4e5dcd8a186778b3d78e27c81550d07a288fd2;hp=6816385ba7e17fea5161c17595d6e3c46528f338;hpb=a41e6ff15809d40e0f9bbc9576bf8f7f80fbec1d;p=deb_dpdk.git diff --git a/app/test/test_memory.c b/app/test/test_memory.c index 6816385b..921bdc88 100644 --- a/app/test/test_memory.c +++ b/app/test/test_memory.c @@ -86,8 +86,4 @@ test_memory(void) return 0; } -static struct test_command memory_cmd = { - .command = "memory_autotest", - .callback = test_memory, -}; -REGISTER_TEST_COMMAND(memory_cmd); +REGISTER_TEST_COMMAND(memory_autotest, test_memory);