tests/check/: use the new macro
[platform/upstream/gstreamer.git] / tests / check / gst / gstpipeline.c
index 99d58ca..b009686 100644 (file)
@@ -506,20 +506,4 @@ gst_pipeline_suite (void)
   return s;
 }
 
-int
-main (int argc, char **argv)
-{
-  int nf;
-
-  Suite *s = gst_pipeline_suite ();
-  SRunner *sr = srunner_create (s);
-
-  gst_check_init (&argc, &argv);
-
-  srunner_set_log (sr, "test.log");
-  srunner_run_all (sr, CK_NORMAL);
-  nf = srunner_ntests_failed (sr);
-  srunner_free (sr);
-
-  return nf;
-}
+GST_CHECK_MAIN (gst_pipeline);