Commit c5a3e8db authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

check: Use GST_CHECK_MAIN macro

parent e921ee13
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment