From 137dd14bcff5ea1d4eb3aba9249c32543dbb37cf Mon Sep 17 00:00:00 2001 From: marvin Date: Sun, 24 Oct 2021 17:43:39 +0200 Subject: [PATCH] 2021-10-24 17:43:39 --- libft/Makefile | 9 +++++---- libft/README.md | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libft/Makefile b/libft/Makefile index 97d7dbf..d5cfc00 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -6,7 +6,7 @@ # By: +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/10/22 09:10:00 by gbaconni #+# #+# # -# Updated: 2021/10/24 14:33:09 by gbaconni ### lausanne.ch # +# Updated: 2021/10/24 17:40:26 by gbaconni ### lausanne.ch # # # # **************************************************************************** # # @@ -81,13 +81,13 @@ b: compile _libftTester @make -C libftTester m || true _Libftest: - @test -f Libftest/my_config.sh || (cd Libftest && ./grademe.sh >/dev/null 2>&1) || true + @test -f Libftest/my_config.sh || (cd Libftest && ./grademe.sh -u >/dev/null 2>&1) || true @grep -q '^PATH_LIBFT=\.\./libft' Libftest/my_config.sh || sed -i'.orig' -e 's/^\(PATH_LIBFT\)=.*/\1=..\/libft/' Libftest/my_config.sh || true @grep -q "'ft_memccpy'" Libftest/srcs/variables/functions/part_1.sh && sed -i'.orig' -e "/'ft_memccpy'/d" Libftest/srcs/variables/functions/part_1.sh || true @rm -fr Libftest/tests/Part1_functions/ft_memccpy || true c: compile _Libftest - @cd Libftest && ./grademe.sh -u -b || true + @cd Libftest && ./grademe.sh -u -l -b || true @echo "" @echo "For more details do:" @echo "less Libftest/deepthought" @@ -113,8 +113,9 @@ e: fast _libft-unit-test test: a b c d bonus: _libftTester _Libftest _libft-unit-test + @make -C libft bonus @make -C libftTester b || true - @cd Libftest && ./grademe.sh -u -p1 -p2 -a || true + @cd Libftest && ./grademe.sh -u -l -ob || true @echo "" @echo "For more details do:" @echo "less Libftest/deepthought" diff --git a/libft/README.md b/libft/README.md index fd5dfdc..69fa7b2 100644 --- a/libft/README.md +++ b/libft/README.md @@ -51,6 +51,9 @@ make a # alelievr/libft-unit-test (mind the protect == NULL) make d +# test bonuses +make bonus + # launch a b c d e (All you can eat) make test ```