test/run-tests.c

changeset 179
5ef724e21702
parent 149
ea2448961441
--- a/test/run-tests.c	Fri Aug 21 16:08:50 2026 +0200
+++ b/test/run-tests.c	Fri Aug 21 17:04:43 2026 +0200
@@ -30,10 +30,12 @@
 #include "ucxtest.h"
 
 CxTestSuite *test_real_pgn_suite(void);
+CxTestSuite *test_rules_helper_suite(void);
 
 int main(void) {
     CxTestSuite *suites[] = {
-        test_real_pgn_suite()
+        test_real_pgn_suite(),
+        test_rules_helper_suite()
     };
     size_t suites_count = sizeof(suites)/sizeof(CxTestSuite *);
     unsigned int failure = 0, success = 0;
@@ -43,7 +45,7 @@
         success += suites[i]->success;
         cx_test_suite_free(suites[i]);
     }
-    printf("\nTotal failure: %u | success: %u\n", failure, success);
+    printf("\nTotal success: %u | failure: %u\n", success, failure);
 
     return failure > 0 ? 1 : 0;
 }

mercurial