PageRenderTime 21ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/check_flvmeta.c

https://code.google.com/
C | 19 lines | 13 code | 5 blank | 1 comment | 1 complexity | 5ec1dcc3cb6e16dce62ff89ef0360008 MD5 | raw file
 1#include <stdlib.h>
 2#include <check.h>
 3
 4extern Suite * amf_types_suite(void);
 5extern Suite * flv_suite(void);
 6
 7int main(void) {
 8    int number_failed;
 9    SRunner * sr = srunner_create(amf_types_suite());
10    srunner_add_suite(sr, flv_suite());
11    
12    /* srunner_set_log (sr, "check_amf.log"); */
13
14    srunner_run_all(sr, CK_NORMAL);
15    number_failed = srunner_ntests_failed(sr);
16    srunner_free(sr);
17
18    return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
19}