Update tests for new check library & osx

This commit is contained in:
Nils O. Selåsdal
2025-06-28 00:56:58 +02:00
parent 9d2ed015f3
commit fb8979d695
29 changed files with 449 additions and 27 deletions
+4
View File
@@ -4,6 +4,7 @@
START_TEST (test_settable_clock)
{
struct UCoreSettableClock my_clock;
struct timeval tv;
struct timeval tv_tmp;
@@ -34,9 +35,11 @@ START_TEST (test_settable_clock)
fail_if(tv.tv_sec != 123456789);
fail_if(tv.tv_usec != 44);
}
END_TEST
START_TEST (test_cached_clock)
{
struct UCoreCachedClock my_clock;
struct timeval tv1,tv2;
@@ -60,6 +63,7 @@ START_TEST (test_cached_clock)
fail_if(!timercmp(&tv1, &tv2, !=));
}
END_TEST