X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_byteorder.c;h=a088489bdb32af102a6b6db58c17ebb95549c012;hb=55a3fb5f7c41ec1a1cfb094d7ec3914ea3502f7b;hp=38f8d39459cc3591cdce3ab13bf22bb596deeee6;hpb=3031749c2df04a63cdcef186dcce3781e61436e8;p=dpdk.git diff --git a/app/test/test_byteorder.c b/app/test/test_byteorder.c index 38f8d39459..a088489bdb 100644 --- a/app/test/test_byteorder.c +++ b/app/test/test_byteorder.c @@ -52,7 +52,7 @@ static volatile uint64_t u64 = 0xdeadcafebabefaceULL; * size (16, 32, 64 bits) */ -int +static int test_byteorder(void) { uint16_t res_u16; @@ -91,3 +91,9 @@ test_byteorder(void) return 0; } + +static struct test_command byteorder_cmd = { + .command = "byteorder_autotest", + .callback = test_byteorder, +}; +REGISTER_TEST_COMMAND(byteorder_cmd);