various tests: do not provoke SIGTRAP with -m no-undefined
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 14 Dec 2011 18:08:59 +0000 (18:08 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 27 Dec 2011 22:51:09 +0000 (17:51 -0500)
commitfa4792c35e42107e0ded0f499bb86415a2b1faef
tree09048661bc281ad1a9f357284759aece5c0eaa89
parent5cb29d7909afdb41054ca47892aea4e0a79f2d7a
various tests: do not provoke SIGTRAP with -m no-undefined

Some of the GLib tests deliberately provoke warnings (or even fatal
errors) in a forked child. Normally, this is fine, but under valgrind
it's somewhat undesirable. We do want to follow fork(), so we can check
for leaks in child processes that exit gracefully; but we don't want to
be told about "leaks" in processes that are crashing, because there'd
be no point in cleaning those up anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=666116
13 files changed:
gio/tests/actions.c
gio/tests/gdbus-proxy.c
gio/tests/gsettings.c
glib/tests/error.c
glib/tests/gvariant.c
glib/tests/logging.c
glib/tests/markup-collect.c
glib/tests/mem-overflow.c
glib/tests/option-context.c
glib/tests/slice.c
glib/tests/strfuncs.c
glib/tests/testing.c
gobject/tests/ifaceproperties.c