Fixed test suit: advent needs adventure.data or adventure.txt in current directory to run successfully
This commit is contained in:
parent
196a9e1a49
commit
3b9f29742f
8 changed files with 591 additions and 4 deletions
|
@ -42,7 +42,7 @@ buildregress:
|
|||
regress:
|
||||
@for file in $(TESTLOADS); do \
|
||||
$(ECHO) -n " $${file} "; grep --text '##' $${file}.log || echo ' ## (no description)'; \
|
||||
if advent $${file}.log >/tmp/regress$$$$ 2>&1; \
|
||||
if advent < $${file}.log >/tmp/regress$$$$ 2>&1; \
|
||||
then diff --text -u $${file}.chk /tmp/regress$$$$ || exit 1; \
|
||||
else echo "*** Nonzero return status on $${file}!"; exit 1; fi \
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue