aboutsummaryrefslogtreecommitdiff
path: root/helper.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-12-09 12:56:41 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-12-09 12:56:41 +0100
commit08d3e239e8870e16571401952db9b9245c2345de (patch)
tree13c36a4ea75df2998ca8a03006eb47d1de8e6738 /helper.c
parent702390105f4982590b739508df6b7e8b933b0a84 (diff)
downloadlibasm_test-08d3e239e8870e16571401952db9b9245c2345de.tar.gz
libasm_test-08d3e239e8870e16571401952db9b9245c2345de.tar.bz2
libasm_test-08d3e239e8870e16571401952db9b9245c2345de.zip
Added segfault report log with arguments
Diffstat (limited to 'helper.c')
-rw-r--r--helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/helper.c b/helper.c
index 06781b1..d30adda 100644
--- a/helper.c
+++ b/helper.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/08 03:07:07 by cacharle #+# #+# */
-/* Updated: 2020/04/13 15:01:20 by charles ### ########.fr */
+/* Updated: 2020/12/09 12:52:33 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,8 +18,8 @@ void print_ok(void)
fflush(stdout);
}
-void print_signaled_ko(void)
+void print_signaled_ko(const char *code)
{
- printf("KO: [SEGFAULT]: %s\n", test_name);
+ printf("KO: [SEGFAULT]: %s: with: %s\n", test_name, code);
fflush(stdout);
}