test: enable unit tests to suspend logging

This commit is contained in:
Miroslav Lichvar
2018-08-28 14:20:40 +02:00
parent eb8c9ad601
commit e034a07be8
3 changed files with 16 additions and 4 deletions

View File

@@ -35,6 +35,9 @@ extern void test_unit(void);
extern void TST_Fail(int line);
extern void TST_SuspendLogging(void);
extern void TST_ResumeLogging(void);
extern double TST_GetRandomDouble(double min, double max);
extern void TST_GetRandomAddress(IPAddr *ip, int family, int bits);
extern void TST_SwapAddressBit(IPAddr *ip, unsigned int b);