summaryrefslogtreecommitdiff
path: root/source/kit_test/test.c
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-09 21:18:21 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-09 21:18:21 +0400
commit3c82a1f8fa015b74c8e0b426c21189acb95368fa (patch)
tree5cc6c70b5f51393b57da652869fbcef333eaa6b0 /source/kit_test/test.c
parent65a298e7415e6785d30681cf0cb9aae0e4965fbe (diff)
downloadkit-3c82a1f8fa015b74c8e0b426c21189acb95368fa.zip
Add tests
Diffstat (limited to 'source/kit_test/test.c')
-rw-r--r--source/kit_test/test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/kit_test/test.c b/source/kit_test/test.c
index 07c8871..0e8ca4b 100644
--- a/source/kit_test/test.c
+++ b/source/kit_test/test.c
@@ -144,5 +144,14 @@ int kit_run_tests(int argc, char **argv) {
status = 1;
}
+ if (status == 0) {
+ color_code(term_color, green);
+ printf("OK\n");
+ } else {
+ color_code(term_color, red);
+ printf("FAILED\n");
+ }
+
+ color_code(term_color, white);
return status;
}