tests/check/: use the new macro
[platform/upstream/gstreamer.git] / tests / check / gst / gstminiobject.c
index d57ada3..33a2bb3 100644 (file)
@@ -289,19 +289,4 @@ gst_mini_object_suite (void)
   return s;
 }
 
-int
-main (int argc, char **argv)
-{
-  int nf;
-
-  Suite *s = gst_mini_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_mini_object);