From 1695b0184d3a671a7dfae8061709197c9cab8347 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 7 Nov 2020 17:20:22 +0100 Subject: Added signaled_suite global to avoid test segfault --- test/ft_list_remove_if_test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/ft_list_remove_if_test.c') diff --git a/test/ft_list_remove_if_test.c b/test/ft_list_remove_if_test.c index bca0a19..45bf260 100644 --- a/test/ft_list_remove_if_test.c +++ b/test/ft_list_remove_if_test.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 03:08:42 by cacharle #+# #+# */ -/* Updated: 2020/04/13 14:59:22 by charles ### ########.fr */ +/* Updated: 2020/11/07 17:15:34 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -103,7 +103,8 @@ void ft_list_remove_if_compare(void) void ft_list_remove_if_test(void) { test_name = "ft_list_remove_if.s"; + signaled_suite = false; ft_list_remove_if_segfault(); - if (!signaled) + if (!signaled_suite) ft_list_remove_if_compare(); } -- cgit