tests: use our own macros for the tests main function

This commit is contained in:
Stefan Kost 2010-06-18 16:37:14 +03:00 committed by Tim-Philipp Müller
parent 86c805bec0
commit d7fe261472
2 changed files with 2 additions and 32 deletions

View file

@ -410,19 +410,4 @@ gdpdepay_suite (void)
return s;
}
int
main (int argc, char **argv)
{
int nf;
Suite *s = gdpdepay_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 (gdpdepay);

View file

@ -563,19 +563,4 @@ gdppay_suite (void)
return s;
}
int
main (int argc, char **argv)
{
int nf;
Suite *s = gdppay_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 (gdppay);