# Test-suite makefile for reposurgeon
-# By setting the REPOSURGEON environment variable and using -e
-# a different implementation can be plugged in to the tests.
-
# 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.
# Defeat annoying behavior under Mac OS X - builtin echo doesn't do -n
ECHO := /bin/echo
-default:
- make -e --quiet all
-
-all: listcheck regress
+all: regress
@echo "=== No diff output is good news."
.SUFFIXES: .chk
buildregress: adventure.data
@for file in $(TESTLOADS); do \
echo "Remaking $${file}.chk"; \
- $(REPOSURGEON) advent <$${file}.log >$${file}.chk \
- 2>&1 || exit 1; \
+ advent <$${file}.log >$${file}.chk 2>&1 || exit 1; \
done
regress: adventure.data
@for file in $(TESTLOADS); do \