diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-20 20:04:02 -0400 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-06 14:48:33 +0200 |
commit | 0dbb69c4d051bab0790c803b74d852764a85fde1 (patch) | |
tree | 99fb8f8839dc60bd21c88f547a82c9e421f649e6 | |
parent | 378a843d233196fef1917c448d2b826edad80007 (diff) |
tests: Update busrsts_test build.
We've added logging calls to the bursts processing. Add logging facility
initializatoin to the test code.
-rw-r--r-- | tests/bursts/Makefile.am | 2 | ||||
-rw-r--r-- | tests/bursts/bursts_test.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/bursts/Makefile.am b/tests/bursts/Makefile.am index 970d9a47..462b7288 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 ef703a8a..cc0eacff 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 <osmo-bts/logging.h> #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]); |