check: Disable the test_fail_abstract_new() test entirely on OS/X
authorJan Schmidt <thaytan@noraisin.net>
Mon, 12 Oct 2009 20:51:55 +0000 (21:51 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 12 Oct 2009 20:51:55 +0000 (21:51 +0100)
Fixes a compiler warning from the function being compiled but not
used.

tests/check/gst/gstobject.c

index 8499e2d..3bf1bf1 100644 (file)
@@ -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)