projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e921ee1
)
check: Use GST_CHECK_MAIN macro
author
Edward Hervey
<bilboed@bilboed.com>
Tue, 2 Jun 2015 14:33:48 +0000
(16:33 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 2 Jun 2015 14:33:48 +0000
(16:33 +0200)
tests/check/gst/gstprotection.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstprotection.c
b/tests/check/gst/gstprotection.c
index
5a4fa2f
..
3f11f8a
100644
(file)
--- a/
tests/check/gst/gstprotection.c
+++ b/
tests/check/gst/gstprotection.c
@@
-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);