NetworkManager/include
Thomas Haller b6d3b98655 test: setup logging during nmtst_init_assert_logging()
Before, when having a test with nmtst_init_assert_logging(),
the caller was expected to setup logging separately according
to the log level that the test asserts against.

Since 5e74891b58, the logging
level can be reset via NMTST_DEBUG also for tests that
assert logging. In this case, it would be useful, if the test
would not overwrite the logging level that is set externally
via NMTST_DEBUG.

Instead, let the test pass the logging configuration to
nmtst_init_assert_logging(), and nmtst will setup logging
-- either according to NMTST_DEBUG or as passed in.

This way, setting the log level works also for no-expect-message
tests:

  NMTST_DEBUG="debug,no-expect-message,log-level=TRACE" $TEST
2015-04-08 14:39:16 +02:00
..
gsystem-local-alloc.h libgsystem: update copy of gsystem-local-alloc.h 2015-03-12 18:09:29 +01:00
Makefile.am include: drop nm-settings-flags.h, move NMSecretAgentGetSecretsFlags 2014-08-01 14:34:39 -04:00
nm-dbus-glib-types.h core: fix new NMIP4Config and NMIP6Config properties 2014-11-07 11:09:35 -05:00
nm-glib-compat.h glib-compat: sync local definition of g_clear_pointer() with upstream glib and remove atomic operations 2014-11-12 11:11:41 +01:00
nm-gvaluearray-compat.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-test-utils.h test: setup logging during nmtst_init_assert_logging() 2015-04-08 14:39:16 +02:00
nm-utils-internal.h all: add macro NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00