tests/check/: use the new macro
[platform/upstream/gstreamer.git] / tests / check / gst / gstplugin.c
index 5a700c0..d645732 100644 (file)
@@ -313,19 +313,4 @@ gst_plugin_suite (void)
   return s;
 }
 
-int
-main (int argc, char **argv)
-{
-  int nf;
-
-  Suite *s = gst_plugin_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_plugin);