tests/check/: use the new macro
[platform/upstream/gstreamer.git] / tests / check / gst / gstobject.c
index dc5ec1b..d9a9d94 100644 (file)
@@ -457,19 +457,4 @@ GST_END_TEST
   return s;
 }
 
-int
-main (int argc, char **argv)
-{
-  int nf;
-
-  Suite *s = gst_object_suite ();
-  SRunner *sr = srunner_create (s);
-
-  gst_check_init (&argc, &argv);
-
-  srunner_run_all (sr, CK_NORMAL);
-  nf = srunner_ntests_failed (sr);
-  srunner_free (sr);
-
-  return nf;
-}
+GST_CHECK_MAIN (gst_object);