test: g_debug messages shouldn't affect g_assert_expected_messages
authorStef Walter <stefw@gnome.org>
Mon, 28 Oct 2013 09:12:29 +0000 (10:12 +0100)
committerStef Walter <stefw@gnome.org>
Mon, 28 Oct 2013 20:31:34 +0000 (21:31 +0100)
commit44f13124c9d6d66760bd800d7d1ce68dc53ad5f2
treec00666a2a5e9a0b64bf63f1514ff76024a3eb1ed
parent0d89d38cac5dddeade2c3bd21a27b6d8de997fa0
test: g_debug messages shouldn't affect g_assert_expected_messages

Debug messages are meant to give insight into how a process is
proceeding, and are unpredictable in nature. They also often have
line numbers in them.

This patch ignores debug messages in g_test_assert_expected_messages().

https://bugzilla.gnome.org/show_bug.cgi?id=710991
glib/gmessages.c
glib/tests/testing.c