mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
tests: Make sure we can have the results into an XML file
This commit is contained in:
parent
3e88edfebc
commit
cd83c0c8e5
1 changed files with 2 additions and 17 deletions
|
@ -200,6 +200,7 @@ ges_suite (void)
|
||||||
Suite *s = suite_create ("Smart mixers");
|
Suite *s = suite_create ("Smart mixers");
|
||||||
TCase *tc_chain = tcase_create ("smart-mixers");
|
TCase *tc_chain = tcase_create ("smart-mixers");
|
||||||
|
|
||||||
|
ges_init ();
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
|
|
||||||
tcase_add_test (tc_chain, simple_smart_adder_test);
|
tcase_add_test (tc_chain, simple_smart_adder_test);
|
||||||
|
@ -209,20 +210,4 @@ ges_suite (void)
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
GST_CHECK_MAIN (ges);
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue