rule for bonus tests; input data modified

This commit is contained in:
Leonardo Algarra 2025-10-31 20:14:58 +01:00
parent dca4e515a8
commit 28a9ff7a60
3 changed files with 21 additions and 12 deletions

View file

@ -6,7 +6,7 @@
# By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/10/22 20:41:03 by lalgarra #+# #+# #
# Updated: 2025/10/30 19:00:00 by lalgarra ### ########.fr #
# Updated: 2025/10/31 19:12:59 by lalgarra ### ########.fr #
# #
# **************************************************************************** #
@ -15,7 +15,7 @@ NAME = report
# Relative location of sources to test
LIBDIR = ../repo_algarra
TIME = /usr/bin/time
TIME = valgrind --leak-check=yes
GNL_SOURCES = get_next_line.c get_next_line_utils.c
@ -49,6 +49,7 @@ report_03: test001.c $(SOURCES)
$(call test_recipe)
report_04: BUFFER_SIZE = 1
report_04: IDXS = 001 002 003 004 005
report_04: test001.c $(SOURCES)
$(call test_recipe)
@ -60,9 +61,25 @@ bonus_01: BUFFER_SIZE = 42
bonus_01: test001.c $(BONUS_SRC)
$(call test_recipe)
bonus_02: BUFFER_SIZE = 80
bonus_02: test001.c $(BONUS_SRC)
$(call test_recipe)
bonus_03: BUFFER_SIZE = 100000
bonus_03: test001.c $(BONUS_SRC)
$(call test_recipe)
bonus_04: BUFFER_SIZE = 1
bonus_04: IDXS = 001 002 003 004 005
bonus_04: test001.c $(BONUS_SRC)
$(call test_recipe)
fclean:
rm -f test001 test001_01 output* report_* rpt_01 test_bs* bonus_*
all: report_01 report_02 report_03 report_04
bonus_all: bonus_01 bonus_02 bonus_03 bonus_04
re: fclean all

View file

@ -1,2 +1,4 @@
/* ************************************************************************** */
/*
/* ************************************************************************** */
/*

File diff suppressed because one or more lines are too long