From 858a09b5f21d2b8c5f963c0a8fe39c478c95bbde Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Tue, 20 Jun 2023 22:21:00 +0600 Subject: make/test: Show inputs too Signed-off-by: Mubashshir --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bffc51c..1b02e62 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,8 @@ obj/%.o: src/%.c tests/+results/%.txt: tests/cases/%.txt obj/$(BINARY) $(<<) "$(<>)TEST\t" $(<:tests/cases/%.txt=case-%)"$(<>)" @mkdir -p tests/+results + # $(<>)============ input =============$(<>) + @cat $(<) # $(<>)============ output =============$(<>) @obj/$(BINARY) < $(<) | tee $(@) # $(<>)=========== expected ============$(<>) -- cgit v1.2.3