Update the test framework so that the need for test_main is removed. Everything
[openssl.git] / test / sanitytest.c
index 5a9e6bbdb47287ad5206d43fd2f3372c755120a8..80a19e992d5b8f4f22ded260a6a6358a915d3538 100644 (file)
@@ -75,12 +75,13 @@ static int test_sanity_unsigned_convertion(void)
     return 1;
 }
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_TEST(test_sanity_null_zero);
     ADD_TEST(test_sanity_enum_size);
     ADD_TEST(test_sanity_twos_complement);
     ADD_TEST(test_sanity_sign);
     ADD_TEST(test_sanity_unsigned_convertion);
+    return 1;
 }