mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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.
This commit is contained in:
@@ -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++)
|
||||
|
Reference in New Issue
Block a user