test: adding rules to test all exectuable

This commit is contained in:
Raphael 2026-01-30 22:22:42 +01:00
parent 98639235c0
commit 93dcdf9491
No known key found for this signature in database

View file

@ -6,7 +6,7 @@
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ # # By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# # # Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
# Updated: 2026/01/30 22:16:49 by rparodi ### ########.fr # # Updated: 2026/01/30 22:22:14 by rparodi ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -101,21 +101,21 @@ test_colleen: $(COLLEEN)
@$(COLLEEN) > /tmp/test_colleen.c @$(COLLEEN) > /tmp/test_colleen.c
@printf '$(GREY)Output of the $(GOLD)Colleen$(RESET)\n' @printf '$(GREY)Output of the $(GOLD)Colleen$(RESET)\n'
@bat -plc /tmp/test_colleen.c @bat -plc /tmp/test_colleen.c
@printf '\n$(GREY)Here's the diff between $(GOLD)$(SRC_COLLEEN) $(GREY)and $(GOLD)/tmp/test_colleen.c$(RESET)\n' @printf "\n$(GREY)Here's the diff between $(GOLD)$(SRC_COLLEEN) $(GREY)and $(GOLD)/tmp/test_colleen.c$(RESET)\n"
@diff $(SRC_COLLEEN) /tmp/test_colleen.c | bat -ldiff @diff $(SRC_COLLEEN) /tmp/test_colleen.c | bat -ldiff
test_grace: $(GRACE) test_grace: $(GRACE)
@$(GRACE) > /tmp/test_grace.c @$(GRACE) > /tmp/test_grace.c
@printf '\n\n\n$(GREY)Output of the $(GOLD)Grace$(RESET)\n' @printf '\n\n\n$(GREY)Output of the $(GOLD)Grace$(RESET)\n'
@bat -plc /tmp/test_grace.c @bat -plc /tmp/test_grace.c
@printf '\n$(GREY)Here's the diff between $(GOLD)$(SRC_GRACE) $(GREY)and $(GOLD)/tmp/test_grace.c$(RESET)\n' @printf "\n$(GREY)Here's the diff between $(GOLD)$(SRC_GRACE) $(GREY)and $(GOLD)/tmp/test_grace.c$(RESET)\n"
@diff $(SRC_GRACE) /tmp/test_grace | bat -ldiff @diff $(SRC_GRACE) /tmp/test_grace | bat -ldiff
test_sully: $(SULLY) test_sully: $(SULLY)
@$(SULLY) > /tmp/test_sully.c @$(SULLY) > /tmp/test_sully.c
@printf '$(GREY)Output of the $(GOLD)Sully$(RESET)\n' @printf '$(GREY)Output of the $(GOLD)Sully$(RESET)\n'
@bat -plc /tmp/test_sully.c @bat -plc /tmp/test_sully.c
@printf '\n$(GREY)Here's the diff between $(GOLD)$(SRC_SULLY) $(GREY)and $(GOLD)/tmp/test_sully.c$(RESET)\n' @printf "\n$(GREY)Here's the diff between $(GOLD)$(SRC_SULLY) $(GREY)and $(GOLD)/tmp/test_sully.c$(RESET)\n"
@diff $(SRC_SULLY) /tmp/test_sully | bat -ldiff @diff $(SRC_SULLY) /tmp/test_sully | bat -ldiff
# Header # Header