X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_common.c;h=8effa2f9edf38ac2cd8dd6754eb27031d551b795;hb=5608358c4fb189d7991cd7f5a2e615ac8e558b36;hp=66e910985d82b1bce459fffd96726682bd892f58;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/app/test/test_common.c b/app/test/test_common.c index 66e91098..8effa2f9 100644 --- a/app/test/test_common.c +++ b/app/test/test_common.c @@ -169,8 +169,4 @@ test_common(void) return ret; } -static struct test_command common_cmd = { - .command = "common_autotest", - .callback = test_common, -}; -REGISTER_TEST_COMMAND(common_cmd); +REGISTER_TEST_COMMAND(common_autotest, test_common);