Hi Katerina,
On Sun, Mar 03, 2013 at 10:36:52AM +0000, Katerina Barone-Adesi wrote:
Rationale: zecke pointed out that the tests should
unconditionally
assert, regardless of debug settings.
This uses the OSMO_ prefix as it's in the global namespace.
Two more ideas:
* since it is an error condition, fprintf(stderr).
* it might make sense to also write it to the osmocom logging,
using LOGL_FATAL / DLGLOBAL
* while at it, we might also print a backtrace by means of
osmo_backtrace().
What do you think?
--
- Harald Welte <laforge(a)gnumonks.org>
http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)