X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2FMakefile;h=c93f6bbeb49d190b2b0f1ba36d38d0fbf4909463;hb=b5badcacc8f3518a9fbb1338bdfc8f3621d3b26b;hp=db49d9d5a78221dee7ce5423281f61b43da7d1e3;hpb=3b64fb3bfdb1c57ebf034dfb2039eaaa172e8994;p=open-adventure.git diff --git a/tests/Makefile b/tests/Makefile index db49d9d..c93f6bb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,6 +1,6 @@ # 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} @@ -26,6 +26,7 @@ check: savecheck regress coverage: check lcov -t "advent" -o ../advent.info -c -d .. --gcov-tool=$(GCOV) genhtml -o ../coverage/ ../advent.info + ./coverage_dungeon.py .SUFFIXES: .chk @@ -76,7 +77,7 @@ savecheck: savegames @../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