diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-10-12 11:06:37 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-10-12 11:06:37 -0400 |
| commit | 332c114cf633f70027c28ec6bedb898d9de85e51 (patch) | |
| tree | 0a9bb4760772e5e407c1aef9b896d65165f82f6c /test/test.c | |
| parent | 4ee5b8d6a9ebf49ce30ff7d93ef7401039ffecc6 (diff) | |
basic allocator with valgrind testing
Diffstat (limited to 'test/test.c')
| -rw-r--r-- | test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index 02a8730..0dcf302 100644 --- a/test/test.c +++ b/test/test.c @@ -29,7 +29,7 @@ static void kpl_test_report(const kpl_test *_test) { _test->error_line_number, _test->error_message); } -static int32_t kpl_test_report_error(void) { +static kpl_exit_code kpl_test_report_error(void) { if (!error_head) { printf(KPL_COLOR2(BOLD, GREEN) "PASSED\n" KPL_COLOR(RESET)); return KPL_EXIT_CODE_SUCCESS; @@ -55,7 +55,7 @@ static void kpl_test_run_one(kpl_test *_test) { error_tail = error_tail->list_next = _test; } -static int32_t kpl_test_run_all(void) { +static kpl_exit_code kpl_test_run_all(void) { while (test_head) { kpl_test *_test = test_head; test_head = test_head->list_next; |
