tests: Make sure we can have the results into an XML file

This commit is contained in:
Thibault Saunier 2013-07-22 20:06:25 -04:00
parent 3e88edfebc
commit cd83c0c8e5

View file

@ -200,6 +200,7 @@ ges_suite (void)
Suite *s = suite_create ("Smart mixers");
TCase *tc_chain = tcase_create ("smart-mixers");
ges_init ();
suite_add_tcase (s, tc_chain);
tcase_add_test (tc_chain, simple_smart_adder_test);
@ -209,20 +210,4 @@ ges_suite (void)
return s;
}
int
main (int argc, char **argv)
{
int nf;
Suite *s = ges_suite ();
SRunner *sr = srunner_create (s);
gst_check_init (&argc, &argv);
ges_init ();
srunner_run_all (sr, CK_NORMAL);
nf = srunner_ntests_failed (sr);
srunner_free (sr);
return nf;
}
GST_CHECK_MAIN (ges);