NetworkManager/src/settings/plugins
Thomas Haller 48b5ba7cea nmtst: add NMTST_DEBUG=no-expect-message for debugging assert_message tests
Some tests want to assert against the messages logged using g_test_expect_message().
In this mode, nmtst will not log anything itself.

Interpret the option no-expect-message which turns g_test_expect_message()
into a NOP and turns logging on. The use of this is for debugging such
tests, without asserting against the messages but printing them instead.

For tests that are not in the assert_message mode, the option has no
effect.

Example:
  NMTST_DEBUG=debug,no-expect-message make -C src/settings/plugins/keyfile/tests/ check

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-05 18:12:58 +02:00
..
example settings: use nm_log_info/warning() in settings plugins 2014-04-23 10:19:17 -04:00
ifcfg-rh nmtst: add NMTST_DEBUG=no-expect-message for debugging assert_message tests 2014-06-05 18:12:58 +02:00
ifcfg-suse all: set G_LOG_DOMAIN appropriately, for better g_log() messages 2014-04-23 10:19:17 -04:00
ifnet nmtst: add NMTST_DEBUG=no-expect-message for debugging assert_message tests 2014-06-05 18:12:58 +02:00
ifupdown nmtst: combine files nm-test-helpers.h and nm-test-utils.h 2014-06-05 18:12:56 +02:00
keyfile nmtst: add new mode where tests assert against logged messages (assert_messages) 2014-06-05 18:12:58 +02:00
Makefile.am settings: add support for code coverage to the settings plugins 2013-02-19 13:05:52 +01:00