check: skip silly test that segfaults when in a CK_FORK=no environment
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 3 Jul 2010 15:39:40 +0000 (16:39 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 3 Jul 2010 15:40:43 +0000 (16:40 +0100)
See #623469.

tests/check/gst/gstobject.c

index 159bb6d..85d2d07 100644 (file)
@@ -535,7 +535,8 @@ gst_object_suite (void)
    * the effort to try and detect which one should be producing which
    */
   /* SEGV tests go last so we can debug the others */
-  tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGSEGV);
+  if (g_getenv ("CK_FORK") == NULL || strcmp (g_getenv ("CK_FORK"), "no") != 0)
+    tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGSEGV);
 #endif
 
   return s;