diff options
Diffstat (limited to 'aoc.mk')
| -rw-r--r-- | aoc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -20,7 +20,7 @@ force: | |||
| 20 | tests: ${TESTS} | 20 | tests: ${TESTS} |
| 21 | 21 | ||
| 22 | tests/test%.input: tests/test%.output compile force | 22 | tests/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 |
