check: Use GST_CHECK_MAIN macro

This commit is contained in:
Edward Hervey 2015-06-02 16:33:48 +02:00
parent e921ee132b
commit c5a3e8db37

View file

@ -288,19 +288,4 @@ protection_suite (void)
return s;
}
int
main (int argc, char **argv)
{
int nf;
Suite *s = protection_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 (protection);