aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-09-17 12:05:27 -0400
committernodist <kevin.comas.git@gmail.com>2026-09-17 12:05:27 -0400
commit39ed69c0663cab7f6a2d01bcb02cce69c806a08c (patch)
tree08d80656efd407701ad98912505cffef98a67f4e /test
parent349fe86e9b6e8cdfec43bfaaf7f4691b4f7b1cd9 (diff)
auto qemu testing for kpl_test
Diffstat (limited to 'test')
-rw-r--r--test/test.c7
1 files changed, 4 insertions, 3 deletions
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) {