check: Use GST_CHECK_MAIN () macro everywhere
[platform/upstream/gst-plugins-good.git] / tests / check / elements / matroskamux.c
index 1c18e75..455c286 100644 (file)
@@ -477,19 +477,4 @@ matroskamux_suite (void)
   return s;
 }
 
-int
-main (int argc, char **argv)
-{
-  int nf;
-
-  Suite *s = matroskamux_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 (matroskamux);