From dcfeb6efbc97b18130f30c2bbb6b1b470bee90c8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 1 Apr 2010 19:13:22 +0200 Subject: [PATCH] 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. --- tests/check/pipelines/basetime.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/check/pipelines/basetime.c b/tests/check/pipelines/basetime.c index 00072ef012..2b84f9dd92 100644 --- a/tests/check/pipelines/basetime.c +++ b/tests/check/pipelines/basetime.c @@ -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 */