From ffb8518d012424425632e74ef274170268570682 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 12 Oct 2009 21:51:55 +0100 Subject: [PATCH] check: Disable the test_fail_abstract_new() test entirely on OS/X Fixes a compiler warning from the function being compiled but not used. --- tests/check/gst/gstobject.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/gst/gstobject.c b/tests/check/gst/gstobject.c index 8499e2d..3bf1bf1 100644 --- a/tests/check/gst/gstobject.c +++ b/tests/check/gst/gstobject.c @@ -70,6 +70,7 @@ gst_fake_object_get_type (void) return _gst_fake_object_type; } +#ifndef HAVE_OSX /* g_object_new on abstract GstObject should fail */ GST_START_TEST (test_fail_abstract_new) { @@ -80,6 +81,7 @@ GST_START_TEST (test_fail_abstract_new) } GST_END_TEST; +#endif /* g_object_new on GstFakeObject should succeed */ GST_START_TEST (test_fake_object_new) -- 2.7.4