Miroslav Lichvar
a073f383e6
test: fix building of unit tests
...
This fixes commit 1227873b88
.
2019-07-16 13:46:37 +02:00
Miroslav Lichvar
91dbe3c6c2
test: allow unit tests to be skipped
2018-09-27 11:42:38 +02:00
Miroslav Lichvar
31b1f2e8a1
test: include util.h for MIN macro
2018-09-27 11:42:38 +02:00
Miroslav Lichvar
e034a07be8
test: enable unit tests to suspend logging
2018-08-28 18:18:07 +02:00
Miroslav Lichvar
1872d4d195
test: fix crash when printing debug messages
...
This fixes commit 6cbeb107db
.
2017-06-27 15:29:01 +02:00
Miroslav Lichvar
d0dfa1de9e
adopt struct timespec
...
Replace struct timeval with struct timespec as the main data type for
timestamps. This will allow the NTP code to work with timestamps in
nanosecond resolution.
2016-08-19 12:53:09 +02:00
Miroslav Lichvar
6b6b097fe8
test/unit: include microseconds in default random seed
2016-02-16 13:43:28 +01:00
Miroslav Lichvar
4998afc9bb
test/unit: add more helper functions
2016-02-16 13:43:07 +01:00
Miroslav Lichvar
80f4d75968
test/unit: follow chrony function naming convention
2016-02-15 16:09:05 +01:00
Miroslav Lichvar
4ab98f62e9
test: add support for unit testing
2016-02-05 15:20:40 +01:00