summaryrefslogtreecommitdiff
path: root/test/birdtest.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 10:30:03 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 10:30:42 +0100
commit9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (patch)
treeacf228f298ac25f90f304a5c428c1c82282f389a /test/birdtest.c
parentb90c9b164fedd44115c01fb2b07f71fb40ab3b77 (diff)
Fixed resource initialization in unit tests
Diffstat (limited to 'test/birdtest.c')
-rw-r--r--test/birdtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/birdtest.c b/test/birdtest.c
index 10d6d6de..ae05d1a5 100644
--- a/test/birdtest.c
+++ b/test/birdtest.c
@@ -20,6 +20,7 @@
#include "test/birdtest.h"
#include "lib/string.h"
+#include "lib/event.h"
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
@@ -120,6 +121,7 @@ bt_init(int argc, char *argv[])
bt_suite_case_begin = bt_suite_begin = bt_begin;
resource_init();
+ ev_init_list(&global_event_list);
return;