# Use absolute path so tests that change working directory still use
# scripts from parent directory. Note that using $PWD seems to fail
# here under Gitlab's CI environment.
# Use absolute path so tests that change working directory still use
# scripts from parent directory. Note that using $PWD seems to fail
# here under Gitlab's CI environment.
- $(ECHO) -n " $${file} "; grep --text '##' $${file}.log || echo ' ## (no description)'; \
- if advent $${file}.log >/tmp/regress$$$$ 2>&1; \
+ $(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \
+ 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
then diff --text -u $${file}.chk /tmp/regress$$$$ || exit 1; \
else echo "*** Nonzero return status on $${file}!"; exit 1; fi \
done