Go to the documentation of this file.00001 #include <stdlib.h>
00002 #include <check.h>
00003
00004 #include "check_suites.h"
00005
00006 int main(void)
00007 {
00008 int number_failed;
00009
00010 Suite *s = edc_suite();
00011
00012 SRunner *sr = srunner_create(s);
00013 srunner_set_xml(sr, "test_results.xml");
00014 srunner_add_suite(sr, dgnss_management_test_suite());
00015 srunner_add_suite(sr, amb_kf_test_suite());
00016 srunner_add_suite(sr, sdiff_test_suite());
00017 srunner_add_suite(sr, ambiguity_test_suite());
00018 srunner_add_suite(sr, rtcm3_suite());
00019 srunner_add_suite(sr, bits_suite());
00020 srunner_add_suite(sr, memory_pool_suite());
00021 srunner_add_suite(sr, sbp_suite());
00022 srunner_add_suite(sr, coord_system_suite());
00023 srunner_add_suite(sr, linear_algebra_suite());
00024
00025 srunner_set_fork_status(sr, CK_NOFORK);
00026 srunner_run_all(sr, CK_NORMAL);
00027 number_failed = srunner_ntests_failed(sr);
00028 srunner_free(sr);
00029 return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
00030 }
00031