aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-05 19:23:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-07 14:08:22 +0200
commit40c7410f9eb6961d5288c4bbf9072832b2b09ea1 (patch)
tree3d72a7d4946b4edb80823e4b4575e7925c86f3f6 /tests/handover
parent12adbeaba35032bc81647e6ccbd6bfdbe4cdf248 (diff)
Move ts_fsm_init to static constructor [3/4]
This allows having it initialized automatically, as we usually do with this type of code. As a result, tests or other apps importing libbsc don't need to take care of calling it. NOTE: This fix is required by follow-up patches where some stubs are removed and hence some tests start using FSMs internally. Since tests were not using those FSMs before, there was no need to call ts_fsm_init(). This is one further step towards fixing interdependency mess of symbols and stubs. Change-Id: I0e4b95b5e73fbb3844d83ba33e66786831088e1f
Diffstat (limited to 'tests/handover')
-rw-r--r--tests/handover/handover_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index bd65b2f75..1dc7c1f6e 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -1626,7 +1626,6 @@ int main(int argc, char **argv)
bsc_vty_init(bsc_gsmnet);
ho_test_vty_init();
- ts_fsm_init();
lchan_fsm_init();
bsc_subscr_conn_fsm_init();
handover_fsm_init();