diff options
Diffstat (limited to 'tests/check_main.c')
-rw-r--r-- | tests/check_main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/check_main.c b/tests/check_main.c index 6af3c3f..96b6f43 100644 --- a/tests/check_main.c +++ b/tests/check_main.c @@ -23,6 +23,16 @@ #include <check.h> #include "lib.h" +void srdtest_setup(void) +{ + /* Silence libsigrokdecode while the unit tests run. */ + srd_log_loglevel_set(SRD_LOG_NONE); +} + +void srdtest_teardown(void) +{ +} + int main(void) { int ret; |