diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-10-12 14:22:34 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-10-12 14:24:53 +0100 |
commit | 2d4795cd17b7adae08bfa949a6f31b4b9c8b2e68 (patch) | |
tree | ac3f4a922dbbad7669a44078b38b060ed28c2981 | |
parent | 53209f0220229bfdc43e87c80c0a5319a4d09202 (diff) |
checks: Disable a fairly silly gstobject test on OS/X
This test used to SIGBUS on OS/X but now SIGSEGV's instead on
Snow Leopard. It's not worth the effort to figure out which platform
should produce which error for what is fundamentally a pretty silly
test, so just disable it on OS/X
-rw-r--r-- | tests/check/gst/gstobject.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/check/gst/gstobject.c b/tests/check/gst/gstobject.c index c157be0d5e..8499e2da1e 100644 --- a/tests/check/gst/gstobject.c +++ b/tests/check/gst/gstobject.c @@ -476,10 +476,11 @@ gst_object_suite (void) /* FIXME: GLib shouldn't crash here, but issue a warning and return a NULL * object, or at least g_error() and then abort properly ... (tpm) */ -#ifdef HAVE_OSX - /* on OSX we get SIGBUS instead it seems */ - tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGBUS); -#else +#ifndef HAVE_OSX + /* Disabled for OS/X because a) it's a pretty silly test anyway and + * b) different OS/X versions raise different signals and it isn't worth + * 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); #endif |