diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-22 04:47:04 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-22 07:18:39 +0200 |
commit | 7b4d727ec5debc3d057686a0a3f0f5f14260a282 (patch) | |
tree | ee1cdd97de4ea939b4f8d440a6443e5c107e8ac3 /tests/testsuite.at | |
parent | 8e2f7e87f4d854e697c40545326a16e50614dd5c (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/testsuite.at')
0 files changed, 0 insertions, 0 deletions