summaryrefslogtreecommitdiff
path: root/src/tests/tests_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tests_main.c')
-rw-r--r--src/tests/tests_main.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/tests/tests_main.c b/src/tests/tests_main.c
index 84de599..9a871c1 100644
--- a/src/tests/tests_main.c
+++ b/src/tests/tests_main.c
@@ -15,17 +15,15 @@ int main()
{
printf("================ start tests ================\n\n");
- hs_type_to_string_tests();
- hs_parse_args_tests();
- hs_parse_overloaded_tests();
-
- hs_create_table_tests();
- hs_create_enum_tests();
-
- hs_process_table_tests();
-
- hs_pushstring_tests();
-
+ mu_run_suite(hs_type_to_string_tests);
+ mu_run_suite(hs_parse_args_tests);
+ mu_run_suite(hs_parse_overloaded_tests);
+ mu_run_suite(hs_create_table_tests);
+ mu_run_suite(hs_create_enum_tests);
+ mu_run_suite(hs_process_table_tests);
+
+ mu_run_suite(hs_pushstring_tests);
+
printf("\n=============== tests finished ===============\n\n");
const char *color = tests_failed == 0 ? GREEN : RED;