mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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
This commit is contained in:
parent
53209f0220
commit
2d4795cd17
1 changed files with 5 additions and 4 deletions
|
@ -476,10 +476,11 @@ gst_object_suite (void)
|
||||||
|
|
||||||
/* FIXME: GLib shouldn't crash here, but issue a warning and return a NULL
|
/* 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) */
|
* object, or at least g_error() and then abort properly ... (tpm) */
|
||||||
#ifdef HAVE_OSX
|
#ifndef HAVE_OSX
|
||||||
/* on OSX we get SIGBUS instead it seems */
|
/* Disabled for OS/X because a) it's a pretty silly test anyway and
|
||||||
tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGBUS);
|
* b) different OS/X versions raise different signals and it isn't worth
|
||||||
#else
|
* the effort to try and detect which one should be producing which
|
||||||
|
*/
|
||||||
/* SEGV tests go last so we can debug the others */
|
/* SEGV tests go last so we can debug the others */
|
||||||
tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGSEGV);
|
tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGSEGV);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue