win32: suppress fatal error dialog box when running tests
authorDan Winship <danw@gnome.org>
Fri, 16 Nov 2012 03:26:54 +0000 (22:26 -0500)
committerDan Winship <danw@gnome.org>
Wed, 5 Dec 2012 16:15:19 +0000 (11:15 -0500)
commite97a2f4195fb5bd8d7777651232dc10487a1ed92
treef9adc87df31c162cae422fbe183a44ede8f9d2b2
parentac025007cc571cd767fac8cbd6f937d01773ce28
win32: suppress fatal error dialog box when running tests

When running a test program (ie, if g_test_init() has been called),
don't pop up a dialog box when a fatal error occurs. Just print the
message to stderr and exit.

https://bugzilla.gnome.org/show_bug.cgi?id=679683
docs/reference/glib/glib-sections.txt
glib/gmessages.c
glib/gtestutils.c
glib/gtestutils.h