X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=app%2Ftest%2Ftest_byteorder.c;h=a088489bdb32af102a6b6db58c17ebb95549c012;hp=38f8d39459cc3591cdce3ab13bf22bb596deeee6;hb=942405f9e2f2c22aa817be374ccfe939a72df2ce;hpb=727909c5923147d0c7c0091a0f791432fa954431 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);