Update tests for new check library & osx
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user