diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-20 20:04:02 -0400 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-20 20:06:16 -0400 |
commit | 7533cab4bc94e655c78151782be4a4a93e001b30 (patch) | |
tree | 92817fcc6d4dbc3e55b251f879f818c5e36f511d | |
parent | 3dc5c93e22786c4e448a243678c435bd6726d9d4 (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]); |