summaryrefslogtreecommitdiffstats
path: root/aoc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'aoc.mk')
-rw-r--r--aoc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/aoc.mk b/aoc.mk
index 2009ca1..233a712 100644
--- a/aoc.mk
+++ b/aoc.mk
@@ -20,7 +20,7 @@ force:
20tests: ${TESTS} 20tests: ${TESTS}
21 21
22tests/test%.input: tests/test%.output compile force 22tests/test%.input: tests/test%.output compile force
23 @diff --color=always <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \ 23 @diff -BZ --color=always <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \
24 && echo -e "$@ [\e[0;32mok\e[m]" \ 24 && echo -e "$@ [\e[0;32mok\e[m]" \
25 || echo -e "$@ [\e[0;31mfail\e[m]" 25 || echo -e "$@ [\e[0;31mfail\e[m]"
26 @cat /tmp/aoc.output 26 @cat /tmp/aoc.output