osmo-pcu/tests/emu
Neels Hofmeyr 42f2d61ac9 use osmo_init_logging2() with proper talloc ctx
There is a duality of initialization: early_init() in bts.cpp wants to init
logging even before static instances get initialized. Make sure that
tall_pcu_ctx is initialized during early_init() as well. There is a build
context that does not seem to include bts.cpp (osmo-pcu-remote), so to be sure,
init tall_pcu_ctx as NULL and both in early_init() as well as pcu_main.cpp,
init both tall_pcu_ctx and logging if it is still NULL.

Change-Id: I2199b62d0270bd35dec2283e8f5b364b7c63915b
2018-04-01 16:57:42 +02:00
..
gprs_tests.h emu: Add a crash re-producer for the SGSN (and the concept of tests) 2013-09-04 21:29:00 +04:00
openbsc_clone.c tests: remove unused definition 2017-06-22 13:28:39 +02:00
openbsc_clone.h emu: use libosmocore definitions 2018-02-13 12:53:55 +01:00
pcu_emu.cpp use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
test_pdp_activation.cpp pcu: Fix non-critical warnings 2015-05-04 10:01:25 +02:00
test_replay_gprs_attach.cpp pcu: Fix non-critical warnings 2015-05-04 10:01:25 +02:00