summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aoc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/aoc.mk b/aoc.mk
index c7b7c87..2009ca1 100644
--- a/aoc.mk
+++ b/aoc.mk
@@ -1,5 +1,5 @@
1CXX = g++ 1CXX = g++-15
2CXX_FLAGS = -std=c++23 2CXX_FLAGS = -std=c++26
3SOLUTION = solution.cpp 3SOLUTION = solution.cpp
4INPUT = input.txt 4INPUT = input.txt
5TARGET = ./solution 5TARGET = ./solution
@@ -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 <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \ 23 @diff --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