test(test/Grace): adding the grace test corrected
This commit is contained in:
parent
d1dc958714
commit
de9fd295d8
1 changed files with 10 additions and 10 deletions
20
C/Makefile
20
C/Makefile
|
|
@ -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:22:14 by rparodi ### ########.fr #
|
# Updated: 2026/01/30 23:25:20 by rparodi ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
|
|
@ -99,23 +99,23 @@ test_colleen: $(COLLEEN)
|
||||||
@clear
|
@clear
|
||||||
@rm -rf /tmp/test_colleen.c
|
@rm -rf /tmp/test_colleen.c
|
||||||
@$(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$(END)\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$(END)\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)
|
||||||
@printf '\n\n\n$(GREY)Output of the $(GOLD)Grace$(RESET)\n'
|
@printf '\n\n\n$(GREY)Output of the $(GOLD)Grace$(END)\n'
|
||||||
@bat -plc /tmp/test_grace.c
|
@bat -plc ./Grace_kid.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)Grace_kid.c $(END)\n"
|
||||||
@diff $(SRC_GRACE) /tmp/test_grace | bat -ldiff
|
@diff $(SRC_GRACE) ./Grace_kid.c | 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$(END)\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$(END)\n"
|
||||||
@diff $(SRC_SULLY) /tmp/test_sully | bat -ldiff
|
@diff $(SRC_SULLY) /tmp/test_sully | bat -ldiff
|
||||||
|
|
||||||
# Header
|
# Header
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue