/* start the test run */ gint main (gint argc, gchar ** argv) { gint nf; SRunner *sr; setup_log_base (argc, argv); setup_log_capture (); gst_init (NULL, NULL); bt_check_init (); bt_init (&test_argc, &test_argvptr); sr = srunner_create (gst_buzztrax_elements_suite ()); srunner_add_suite (sr, gst_buzztrax_audiosynth_suite ()); srunner_add_suite (sr, gst_buzztrax_combine_suite ()); srunner_add_suite (sr, gst_buzztrax_envelope_ad_suite ()); srunner_add_suite (sr, gst_buzztrax_envelope_adsr_suite ()); srunner_add_suite (sr, gst_buzztrax_envelope_d_suite ()); srunner_add_suite (sr, gst_buzztrax_filter_svf_suite ()); srunner_add_suite (sr, gst_buzztrax_osc_synth_suite ()); srunner_add_suite (sr, gst_buzztrax_osc_wave_suite ()); srunner_add_suite (sr, gst_buzztrax_tempo_suite ()); srunner_add_suite (sr, gst_buzztrax_toneconversion_suite ()); srunner_set_xml (sr, get_suite_log_filename ()); srunner_run_all (sr, CK_NORMAL); nf = srunner_ntests_failed (sr); srunner_free (sr); bt_deinit (); collect_logs (nf == 0); return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; }
/* start the test run */ gint main (gint argc, gchar ** argv) { gint nf; SRunner *sr; setup_log_base (argc, argv); setup_log_capture (); bt_check_init (); sr = srunner_create (bml_core_suite ()); srunner_add_suite (sr, bml_class_suite ()); srunner_set_xml (sr, get_suite_log_filename ()); srunner_run_all (sr, CK_NORMAL); nf = srunner_ntests_failed (sr); srunner_free (sr); collect_logs (nf == 0); return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; }