tests/basetime: Don't run test with osxaudiosrc

libcheck runs the actual tests in a forked process and that makes the guys
in Cupertino really sad.
This commit is contained in:
Edward Hervey 2010-04-01 19:13:22 +02:00
parent e0c7452edf
commit dcfeb6efbc

View file

@ -60,6 +60,11 @@ GST_START_TEST (test_basetime_calculation)
GstPad *pad;
GMainLoop *loop;
/* Don't run with osxaudiosrc . This is because libcheck runs the actual
* test in a forked process and causes havoc with osx's API. */
if (G_UNLIKELY (!g_ascii_strcasecmp (DEFAULT_AUDIOSRC, "osxaudiosrc")))
return;
loop = g_main_loop_new (NULL, FALSE);
/* The "main" pipeline */