[glib] tests: move /param/implement to -m slow
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests: move /param/implement to -m slow
- Date: Wed, 27 Nov 2013 15:17:42 +0000 (UTC)
commit 30e1ab326296088fd83c046e83b0f0a0b89b9489
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Nov 27 10:13:10 2013 -0500
tests: move /param/implement to -m slow
Take this test out of 'make check'. It's causing problems for a lot of people
due to fact that it's essentially a forkbomb. It's causing failures for Debian
on ARM and it's DoSing coredumps to system crash collectors.
The conditional only covers registration of the master, not the
subprocess parts. This is because g_test_slow() always return FALSE in
the subprocesses, so they would fail to run if we didn't register them
unconditionally.
gobject/tests/param.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gobject/tests/param.c b/gobject/tests/param.c
index 92948a9..40f453e 100644
--- a/gobject/tests/param.c
+++ b/gobject/tests/param.c
@@ -840,7 +840,9 @@ main (int argc, char *argv[])
g_test_add_func ("/param/validate", test_param_validate);
g_test_add_func ("/param/convert", test_param_convert);
- g_test_add_func ("/param/implement", test_param_implement);
+ if (g_test_slow ())
+ g_test_add_func ("/param/implement", test_param_implement);
+
for (data.change_this_flag = 0; data.change_this_flag < 16; data.change_this_flag++)
for (data.change_this_type = 0; data.change_this_type < 3; data.change_this_type++)
for (data.use_this_flag = 0; data.use_this_flag < 16; data.use_this_flag++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]