summaryrefslogtreecommitdiff
path: root/source/kit_test/test.c
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 16:56:21 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 16:56:21 +0400
commitd00fae68f391cc5a39fc93c28a71a86695d7d5b7 (patch)
treeb08afa2b7e6b506bcff8c1085388b1c0ee7d7005 /source/kit_test/test.c
parent7fb929b0b1223db39636e96d48a9cdf728856ebb (diff)
downloadkit-d00fae68f391cc5a39fc93c28a71a86695d7d5b7.zip
test win32
Diffstat (limited to 'source/kit_test/test.c')
-rw-r--r--source/kit_test/test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/kit_test/test.c b/source/kit_test/test.c
index 421a459..9e5a7b2 100644
--- a/source/kit_test/test.c
+++ b/source/kit_test/test.c
@@ -85,23 +85,18 @@ static void setup_signals() {
}
static int run_test(volatile int i) {
- printf(" %% TEST %d\n\n", i);
- printf(" %% SETJPM\n\n");
int signum = setjmp(kit_test_restore_execution);
- printf(" %% SIGNUM=%d\n\n", signum);
if (signum != 0) {
kit_tests_list.tests[i].signal = signum;
return 0;
}
- printf(" %% RUN TEST\n\n");
kit_tests_list.tests[i].test_fn(i, report);
return 1;
}
int kit_run_tests(int argc, char **argv) {
- printf(" %% setup_signals\n\n");
setup_signals();
int success_count = 0;
@@ -112,7 +107,6 @@ int kit_run_tests(int argc, char **argv) {
int term_color = 1;
int carriage_return = 1;
- printf(" %% parse cmd args\n\n");
for (int i = 0; i < argc; i++)
if (strcmp("--no-term-color", argv[i]) == 0)
term_color = 0;
@@ -124,7 +118,6 @@ int kit_run_tests(int argc, char **argv) {
if (quiet)
term_color = 0;
- printf(" %% testing loop\n\n");
for (int i = 0; i < kit_tests_list.size && i < KIT_TESTS_SIZE_LIMIT;
i++) {
color_code(term_color, yellow);