From 39ed69c0663cab7f6a2d01bcb02cce69c806a08c Mon Sep 17 00:00:00 2001 From: nodist Date: Thu, 17 Sep 2026 12:05:27 -0400 Subject: auto qemu testing for kpl_test --- test/test.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/test.c b/test/test.c index b232e4c..c0ef935 100644 --- a/test/test.c +++ b/test/test.c @@ -38,9 +38,10 @@ static int32_t kpl_test_error_list(void) { return KPL_EXIT_CODE_SUCCESS; } printf(KPL_COLOR2(BOLD, LIGHT_RED) "FAILED TEST COUNT:" KPL_COLOR(RESET) - KPL_COLOR(WHITE) " %d\n" KPL_COLOR(RESET), _kpl_test_error_count); + KPL_COLOR(WHITE) " %d\n\n" KPL_COLOR(RESET), _kpl_test_error_count); while (_kpl_error_head) { kpl_test_report_error(_kpl_error_head, false); + putchar('\n'); _kpl_error_head = _kpl_error_head->next_test; } return KPL_EXIT_CODE_ERROR; @@ -141,8 +142,8 @@ int32_t main(int32_t argc, char *argv[]) { KPL_TEST(test_pass_by_default) { // Pass by default - // Uncomment below to fail - // KPL_FAIL("Failure Message"); + // Uncomment below to f ail + KPL_FAIL("Failure Message"); } KPL_TEST(test_counting) { -- cgit v1.2.3