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
This commit is contained in:
parent
01f530bce4
commit
4f3a64182e
|
@ -11,6 +11,7 @@ extern int bsc_shutdown_net(struct gsm_network *net);
|
|||
|
||||
/* register all supported BTS */
|
||||
extern int bts_init(void);
|
||||
extern int bts_model_unknown_init(void);
|
||||
extern int bts_model_bs11_init(void);
|
||||
extern int bts_model_rbs2k_init(void);
|
||||
extern int bts_model_nanobts_init(void);
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue