feat/stdout (#3)

* feat: disable standard output for tests

* fuck les fds

* patch some complation issues

* style: norm

* feat: timeout

* fix: patc more stuff

* fix: patch merge

* feat: more tests
This commit is contained in:
Erwann Lagouche
2026-01-25 16:43:39 +01:00
committed by GitHub
parent 442619f4cb
commit cf491b279d
30 changed files with 332 additions and 132 deletions

View File

@@ -6,7 +6,7 @@
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/25 12:05:05 by dgaillet #+# #+# */
/* Updated: 2026/01/25 12:05:17 by dgaillet ### ########lyon.fr */
/* Updated: 2026/01/25 16:35:04 by elagouch ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,9 +18,9 @@ int strncmp_launcher(void)
size_t res;
testlist = NULL;
load_test(&testlist, "Basic test", &strncmp_basic_test);
load_test(&testlist, "Len test", &strncmp_len_test);
load_test(&testlist, "High len test", &strncmp_high_len_test);
load_test(&testlist, "Basic test", &strncmp_basic_test, 0);
load_test(&testlist, "Len test", &strncmp_len_test, 0);
load_test(&testlist, "High len test", &strncmp_high_len_test, 0);
res = launch_tests(testlist, "ft_strncmp");
clear_tests(&testlist);
return (res);