diff --git a/tests/bursts/Makefile.am b/tests/bursts/Makefile.am index 970d9a479..462b72883 100644 --- a/tests/bursts/Makefile.am +++ b/tests/bursts/Makefile.am @@ -11,4 +11,4 @@ bursts_test_SOURCES = bursts_test.c \ $(top_builddir)/src/osmo-bts-trx/gsm0503_mapping.c \ $(top_builddir)/src/osmo-bts-trx/gsm0503_tables.c \ $(top_builddir)/src/osmo-bts-trx/gsm0503_parity.c -bursts_test_LDADD = $(LDADD) +bursts_test_LDADD = $(top_builddir)/src/common/libbts.a $(LDADD) diff --git a/tests/bursts/bursts_test.c b/tests/bursts/bursts_test.c index ef703a8a2..cc0eacff0 100644 --- a/tests/bursts/bursts_test.c +++ b/tests/bursts/bursts_test.c @@ -29,6 +29,7 @@ #include "../../src/osmo-bts-trx/gsm0503_coding.h" +#include #define ASSERT_TRUE(rc) \ if (!(rc)) { \ @@ -445,6 +446,8 @@ int main(int argc, char **argv) { int i; + bts_log_init(NULL); + for (i = 0; i < sizeof(test_l2) / sizeof(test_l2[0]); i++) test_xcch(test_l2[i]);