X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-byte-order.c;h=4af765e890ef3733d94970db472dbc821a00fa79;hb=HEAD;hp=ab396278ed15102c7418d4b29445997fc51a2efc;hpb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;p=sliver-openvswitch.git diff --git a/tests/test-byte-order.c b/tests/test-byte-order.c index ab396278e..4af765e89 100644 --- a/tests/test-byte-order.c +++ b/tests/test-byte-order.c @@ -18,9 +18,10 @@ #include "byte-order.h" #include #include +#include "ovstest.h" -int -main(void) +static void +test_byte_order_main(int argc OVS_UNUSED, char *argv[] OVS_UNUSED) { #ifndef __CHECKER__ /* I picked some random numbers. */ @@ -48,6 +49,6 @@ main(void) #else /* __CHECKER__ */ /* Making sparse happy with this code makes it unreadable, so don't bother. */ #endif - - return 0; } + +OVSTEST_REGISTER("test-byte-order", test_byte_order_main);