tests/check/: use the new macro
[platform/upstream/gstreamer.git] / tests / check / gst / gst.c
index 76e37ce..d2dda67 100644 (file)
@@ -93,19 +93,4 @@ gst_suite (void)
   return s;
 }
 
-int
-main (int argc, char **argv)
-{
-  int nf;
-
-  Suite *s = gst_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);