diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-09 09:17:14 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-09 09:42:56 +0200 |
commit | 88d60a1f86b083d6154c299aceceab44595f34d7 (patch) | |
tree | 1cdb8001181bda01e9627f736a94d436636aec53 /tests/sysmobts/Makefile.am | |
parent | 2cc37035d73191b71b9ba9c0d559a0da6a5f35e5 (diff) |
sysmobts: Add a unit test that checks of the behavior
We need to build a lot more code to be able to test these two
new routines. I didn't want to move the code to a utils file
as the check is called from a hot path. Add accessors to the
inlined variant to be used by the unit test.
While writing the unit tests I noticed that a re-transmission
of the ciphering command would lead to an attempt to enable
ciphering again. I am not sure that this MphConfig is idempotent.
Diffstat (limited to 'tests/sysmobts/Makefile.am')
-rw-r--r-- | tests/sysmobts/Makefile.am | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/sysmobts/Makefile.am b/tests/sysmobts/Makefile.am index 17160ba5..79d13a1e 100644 --- a/tests/sysmobts/Makefile.am +++ b/tests/sysmobts/Makefile.am @@ -6,5 +6,12 @@ noinst_PROGRAMS = sysmobts_test EXTRA_DIST = sysmobts_test.ok sysmobts_test_SOURCES = sysmobts_test.c $(top_srcdir)/src/osmo-bts-sysmo/utils.c \ - $(srcdir)/../stubs.c -sysmobts_test_LDADD = $(LDADD) + $(top_srcdir)/src/osmo-bts-sysmo/l1_if.c \ + $(top_srcdir)/src/osmo-bts-sysmo/oml.c \ + $(top_srcdir)/src/osmo-bts-sysmo/l1_transp_hw.c \ + $(top_srcdir)/src/osmo-bts-sysmo/tch.c \ + $(top_srcdir)/src/osmo-bts-sysmo/calib_file.c \ + $(top_srcdir)/src/osmo-bts-sysmo/calib_fixup.c \ + $(top_srcdir)/src/osmo-bts-sysmo/misc/sysmobts_par.c \ + $(top_srcdir)/src/osmo-bts-sysmo/eeprom.c +sysmobts_test_LDADD = $(top_builddir)/src/common/libbts.a $(LIBOSMOABIS_LIBS) $(LDADD) |