X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_distributor_perf.c;h=7947fe9b16783b98276e9ab326b639fdf585ccca;hb=6fce689301aa6be62eb0786519ff1eaf27bf00c8;hp=92b222010f4f1df8c430ee540a42b8619ca50296;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c index 92b22201..7947fe9b 100644 --- a/app/test/test_distributor_perf.c +++ b/app/test/test_distributor_perf.c @@ -257,8 +257,4 @@ test_distributor_perf(void) return 0; } -static struct test_command distributor_perf_cmd = { - .command = "distributor_perf_autotest", - .callback = test_distributor_perf, -}; -REGISTER_TEST_COMMAND(distributor_perf_cmd); +REGISTER_TEST_COMMAND(distributor_perf_autotest, test_distributor_perf);