X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_atomic.c;h=b5e7e1b78f53d0da83bc0b8ddb83a0698d163f69;hb=8906f8bd51989b9150847dd03fe2f3c4e8204810;hp=588f53094d10de26ca2e7051cce75372e79dbc9b;hpb=97f17497d162afdb82c8704bf097f0fee3724b2e;p=deb_dpdk.git diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index 588f5309..b5e7e1b7 100644 --- a/app/test/test_atomic.c +++ b/app/test/test_atomic.c @@ -374,8 +374,4 @@ test_atomic(void) return 0; } -static struct test_command atomic_cmd = { - .command = "atomic_autotest", - .callback = test_atomic, -}; -REGISTER_TEST_COMMAND(atomic_cmd); +REGISTER_TEST_COMMAND(atomic_autotest, test_atomic);