diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-05-31 01:56:20 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-05-31 02:14:28 +0700 |
commit | 4f3a64182e823be6071eb891dc41dfc14dc7c5cd (patch) | |
tree | aedb5b36776e17213953ca70cbcd852b10eafa17 /tests | |
parent | 01f530bce48695ea42f95422b629bfd82b748c8a (diff) |
handover_test: use 'unknown' BTS type instead of 'sysmobts'
This unit test does not really need a BTS of such specific type.
Change-Id: Id676042518d06e94a9fb20112334280e2b91074b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handover/Makefile.am | 2 | ||||
-rw-r--r-- | tests/handover/handover_test.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/handover/Makefile.am b/tests/handover/Makefile.am index 84865a06d..fcd171b21 100644 --- a/tests/handover/Makefile.am +++ b/tests/handover/Makefile.am @@ -59,7 +59,7 @@ handover_test_LDADD = \ $(top_builddir)/src/osmo-bsc/bsc_vty.o \ $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts.o \ $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \ - $(top_builddir)/src/osmo-bsc/bts_sysmobts.o \ + $(top_builddir)/src/osmo-bsc/bts_unknown.o \ $(top_builddir)/src/osmo-bsc/chan_alloc.o \ $(top_builddir)/src/osmo-bsc/codec_pref.o \ $(top_builddir)/src/osmo-bsc/gsm_04_08_rr.o \ diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index bdc18c3eb..b08e2a32e 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -178,7 +178,7 @@ static struct gsm_bts *create_bts(int arfcn) struct e1inp_sign_link *rsl_link; int i; - bts = bsc_bts_alloc_register(bsc_gsmnet, GSM_BTS_TYPE_OSMOBTS, 0x3f); + bts = bsc_bts_alloc_register(bsc_gsmnet, GSM_BTS_TYPE_UNKNOWN, 0x3f); if (!bts) { printf("No resource for bts1\n"); return NULL; @@ -1446,7 +1446,8 @@ int main(int argc, char **argv) ho_set_hodec2_penalty_failed_ho(bsc_gsmnet->ho, 60); ho_set_hodec2_penalty_failed_as(bsc_gsmnet->ho, 60); - bts_model_sysmobts_init(); + /* We don't really need any specific model here */ + bts_model_unknown_init(); test_case = test_cases[test_case_i]; |