r40449 - in /desktop/experimental/glib2.0/debian: changelog patches/series patches/tests-move-param-implement-to-m-slow.patch

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Sun Feb 2 20:30:15 UTC 2014


Author: smcv
Date: Sun Feb  2 20:30:14 2014
New Revision: 40449

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=40449
Log:
Add d/p/tests-move-param-implement-to-m-slow.patch (Closes: #737381)

Add d/p/tests-move-param-implement-to-m-slow.patch to knock out
test /param/implement, which upstream describe as "essentially a
forkbomb", leading to failures on armel and at least sporadically
on mipsel (Closes: #737381)

Added:
    desktop/experimental/glib2.0/debian/patches/tests-move-param-implement-to-m-slow.patch
Modified:
    desktop/experimental/glib2.0/debian/changelog
    desktop/experimental/glib2.0/debian/patches/series

Modified: desktop/experimental/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/changelog?rev=40449&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/changelog	[utf-8] (original)
+++ desktop/experimental/glib2.0/debian/changelog	[utf-8] Sun Feb  2 20:30:14 2014
@@ -10,6 +10,10 @@
 
   [ Simon McVittie ]
   * Add DEP-3 tagging to PPC patch
+  * Add d/p/tests-move-param-implement-to-m-slow.patch to knock out
+    test /param/implement, which upstream describe as "essentially a
+    forkbomb", leading to failures on armel and at least sporadically
+    on mipsel (Closes: #737381)
 
  -- Laurent Bigonville <bigon at debian.org>  Mon, 13 Jan 2014 02:15:16 +0100
 

Modified: desktop/experimental/glib2.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/series?rev=40449&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/series	[utf-8] (original)
+++ desktop/experimental/glib2.0/debian/patches/series	[utf-8] Sun Feb  2 20:30:14 2014
@@ -12,3 +12,4 @@
 90_gio-modules-multiarch-compat.patch
 skip-brokwn-dbus-appinfo-test.patch
 valgrind_h_add_r0_to_the_clobber_list_on_PPC.patch
+tests-move-param-implement-to-m-slow.patch

Added: desktop/experimental/glib2.0/debian/patches/tests-move-param-implement-to-m-slow.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/tests-move-param-implement-to-m-slow.patch?rev=40449&op=file
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/tests-move-param-implement-to-m-slow.patch	(added)
+++ desktop/experimental/glib2.0/debian/patches/tests-move-param-implement-to-m-slow.patch	[utf-8] Sun Feb  2 20:30:14 2014
@@ -0,0 +1,34 @@
+From: Ryan Lortie <desrt at desrt.ca>
+Date: Wed, 27 Nov 2013 10:13:10 -0500
+Subject: 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.
+
+Origin: upstream, 2.39.2, commit:30e1ab326296088fd83c046e83b0f0a0b89b9489
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737381
+---
+ gobject/tests/param.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+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++)




More information about the pkg-gnome-commits mailing list