summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahmubashshir@gmail.com>2023-06-20 22:21:00 +0600
committerLibravatar Mubashshir <ahmubashshir@gmail.com>2023-06-20 22:21:00 +0600
commit858a09b5f21d2b8c5f963c0a8fe39c478c95bbde (patch)
tree2945d313db574c7a293336ca5f0c404bd6239526
parent31f1a9c3f58c90e6532aca78404c4a9346a70db3 (diff)
downloadc-obp-example-858a09b5f21d2b8c5f963c0a8fe39c478c95bbde.tar.gz
c-obp-example-858a09b5f21d2b8c5f963c0a8fe39c478c95bbde.zip
make/test: Show inputs too
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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)
$(<<) "$(<<bold>>)TEST\t" $(<:tests/cases/%.txt=case-%)"$(<<stop>>)"
@mkdir -p tests/+results
+ # $(<<bold>>)============ input =============$(<<stop>>)
+ @cat $(<)
# $(<<bold>>)============ output =============$(<<stop>>)
@obj/$(BINARY) < $(<) | tee $(@)
# $(<<bold>>)=========== expected ============$(<<stop>>)