mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
check: Use GST_CHECK_MAIN macro
This commit is contained in:
parent
e921ee132b
commit
c5a3e8db37
1 changed files with 1 additions and 16 deletions
|
@ -288,19 +288,4 @@ protection_suite (void)
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
GST_CHECK_MAIN (protection);
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue