This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 3e51d3e5bd6d3c2dff79e47c7ad22c073b0dba93 (commit)
via ac0490ad2a086a4e2664bed19bfe2787cbf4d450 (commit)
from 4c9ec22546264454662895123ff2b1310b1081ad (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=3e51d3e5bd6d3c2dff79e47c7ad22c0…
commit 3e51d3e5bd6d3c2dff79e47c7ad22c073b0dba93
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Oct 29 10:57:27 2017 +0100
Call osmo_init_logging() before static BTS constructor
The BTS constructor uses functions of libosmocore that could in turn
want to log something. This requires the logging to be initialized
before.
The only way to achieve this is to add an __attribute__((constructor))
function *before* the BTS constructor is being run.
This solution might not be elegant, but I guess it's the only way to
initialize a C library before calling C++ constructors of global static
instance of a class.
In case anyone comes up with a better / cleaner approach, we can always
change later.
This change requires libosmocore >= 0.10.1, as only that permits
multiple calls to osmo_init_logging() which may now occur.
Change-Id: I28dc4f0db229518348c92413959fed5ae85d753d
http://cgit.osmocom.org/osmo-pcu/commit/?id=ac0490ad2a086a4e2664bed19bfe278…
commit ac0490ad2a086a4e2664bed19bfe2787cbf4d450
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Oct 29 10:39:32 2017 +0100
tests: Don't use private version of log_info but global gprs_log_info
There's no need for each test case to carry their own log_info and
filter function. They can simply use the global gprs_log_info and
configure the stderr log verbosity according to their needs.
Change-Id: I8706a624e5d06e062d1198711aa197fbd0860769
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 +-
debian/control | 2 +-
src/bts.cpp | 11 +++++++++++
tests/Makefile.am | 1 +
tests/bitcomp/BitcompTest.cpp | 29 ++---------------------------
tests/edge/EdgeTest.cpp | 30 ++----------------------------
tests/llc/LlcTest.cpp | 21 +++------------------
tests/ms/MsTest.cpp | 21 +++------------------
tests/tbf/TbfTest.cpp | 32 ++++----------------------------
9 files changed, 28 insertions(+), 121 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT