diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-19 17:01:06 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-19 17:01:06 +0400 |
commit | ee528260573d60ec8db5c1e2da203631a58bd8c2 (patch) | |
tree | ee0d582f76c73ffe38a8c85c885b3b31510423d1 /source/kit_test | |
parent | d00fae68f391cc5a39fc93c28a71a86695d7d5b7 (diff) | |
download | kit-ee528260573d60ec8db5c1e2da203631a58bd8c2.zip |
test win32
Diffstat (limited to 'source/kit_test')
-rw-r--r-- | source/kit_test/test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/kit_test/test.c b/source/kit_test/test.c index 9e5a7b2..84e7700 100644 --- a/source/kit_test/test.c +++ b/source/kit_test/test.c @@ -7,6 +7,8 @@ #include <setjmp.h> #include <signal.h> +#include <stdlib.h> + kit_tests_list_t kit_tests_list = { 0 }; static void report(int i, int line, int ok) { @@ -67,6 +69,8 @@ static char const *const signames[] = { }; static void handle_signal(int signum) { + printf("SIGNAL: %d\n\n", signum); + exit(42); longjmp(kit_test_restore_execution, signum); } |