summaryrefslogtreecommitdiffstats
path: root/app/test/test_mempool.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_mempool.c')
-rw-r--r--app/test/test_mempool.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index 9ea98314..46ad6702 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -609,8 +609,4 @@ err:
return -1;
}
-static struct test_command mempool_cmd = {
- .command = "mempool_autotest",
- .callback = test_mempool,
-};
-REGISTER_TEST_COMMAND(mempool_cmd);
+REGISTER_TEST_COMMAND(mempool_autotest, test_mempool);