-
Notifications
You must be signed in to change notification settings - Fork 1
/
helper.c
25 lines (22 loc) · 1.09 KB
/
helper.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* helper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/08 03:07:07 by cacharle #+# #+# */
/* Updated: 2020/12/09 12:52:33 by charles ### ########.fr */
/* */
/* ************************************************************************** */
#include "libasm_test.h"
void print_ok(void)
{
printf("OK: %s\n", test_name);
fflush(stdout);
}
void print_signaled_ko(const char *code)
{
printf("KO: [SEGFAULT]: %s: with: %s\n", test_name, code);
fflush(stdout);
}