示例#1
0
int
main (void)
{
  int number_failed;
  SRunner *sr = srunner_create (ar_suite ());

  tiz_log_init();

  TIZ_LOG (TIZ_TRACE, "Tizonia OpenMAX IL - Binary File Writer unit tests");

  srunner_run_all (sr, CK_VERBOSE);
  number_failed = srunner_ntests_failed (sr);
  srunner_free (sr);

  tiz_log_deinit ();

  return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
int
main (void)
{
  int number_failed;
  SRunner *sr = srunner_create (ar_suite ());

  tiz_log_init();

  TIZ_LOG (TIZ_PRIORITY_TRACE, "Tizonia OpenMAX IL - "
           "DSL i/v YUV overlay renderer unit tests");

  srunner_run_all (sr, CK_VERBOSE);
  number_failed = srunner_ntests_failed (sr);
  srunner_free (sr);

  tiz_log_deinit ();

  return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}