summaryrefslogtreecommitdiffstats
path: root/test/gmdifftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gmdifftest.c')
-rw-r--r--test/gmdifftest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/gmdifftest.c b/test/gmdifftest.c
index 6869300f3e..f7aa1a3808 100644
--- a/test/gmdifftest.c
+++ b/test/gmdifftest.c
@@ -55,10 +55,11 @@ static int test_gmtime(int offset)
check_time(-offset * 1000L);
}
-void register_tests(void)
+int setup_tests(void)
{
if (sizeof(time_t) < 8)
TEST_info("Skipping; time_t is less than 64-bits");
else
ADD_ALL_TESTS_NOSUBTEST(test_gmtime, 1000000);
+ return 1;
}