summaryrefslogtreecommitdiffstats
path: root/tests/timer/timer_test.ok
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-22 04:47:04 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-22 07:18:39 +0200
commit7b4d727ec5debc3d057686a0a3f0f5f14260a282 (patch)
treeee1cdd97de4ea939b4f8d440a6443e5c107e8ac3 /tests/timer/timer_test.ok
parent8e2f7e87f4d854e697c40545326a16e50614dd5c (diff)
timer_test: do not use real time: deterministic and faster
Use osmo_gettimeofday_override* to decouple the timer test from real time. No longer call osmo_select_main(), since select() actually waits for real time. This reduces the timer_test to the osmo_timer_* logic and excludes the real time and osmo_timers_nearest() accuracy testing with actual waiting involved. This may be seen as a loss, but is more fit for a test suite. The main point here is to get deterministic results in jenkins, so that we don't have to retrigger jobs based on timing failures; added bonus is that the test runs much faster now. Change-Id: Ic5649512df86dd17070daa2f314159eafaf8feb8
Diffstat (limited to 'tests/timer/timer_test.ok')
0 files changed, 0 insertions, 0 deletions