# Test-suite makefile for reposurgeon
-# Use absolute path so tests that change working directory still use
+# 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.
PATH := $(realpath ..):$(realpath .):${PATH}
coverage: check
lcov -t "advent" -o ../advent.info -c -d .. --gcov-tool=$(GCOV)
genhtml -o ../coverage/ ../advent.info
+ python3 coverage_dungeon.py
.SUFFIXES: .chk
@../cheat -o / 2> /tmp/coverage_cheat_badoutput | true
@$(ECHO) "TEST advent: Start with invalid file with -r"
@advent -r /badfilename < pitfall.log > /tmp/coverage_advent_readfail 2>&1 || exit 1
- @$(ECHO) "TEST advent: Start with invalid file with -r"
+ @$(ECHO) "TEST advent: Start with invalid file with -l"
@advent -l / < pitfall.log > /tmp/coverage_advent_logfail 2>&1 || exit 1
@$(ECHO) "TEST advent: Test -r with valid input"
@advent -r thousand_saves.adv < pitfall.log > /tmp/coverage_advent_readfail 2>&1 || exit 1