summaryrefslogtreecommitdiff
path: root/source/kit_test
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit_test')
-rw-r--r--source/kit_test/test.c4
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);
}