check: skip silly test that segfaults when in a CK_FORK=no environment

See #623469.
This commit is contained in:
Tim-Philipp Müller 2010-07-03 16:39:40 +01:00
parent 694f4d90f8
commit 9db5a93ed8

View 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;