Use $(advent) rather than advent where needed.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 9 Mar 2023 13:54:20 +0000 (08:54 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 9 Mar 2023 13:54:20 +0000 (08:54 -0500)
tests/Makefile

index d188e7074d119afbc64dfd0b9707f160c26e584f..1bd9311ff135d40d83031cf2d2eb67391c0e8550 100644 (file)
@@ -73,11 +73,11 @@ savecheck: savegames
        @$(ECHO) "TEST cheat: Fail to save to invalid path"
        @$(PARDIR)/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
+       @$(advent) -r /badfilename < pitfall.log > /tmp/coverage_advent_readfail 2>&1 || exit 1
        @$(ECHO) "TEST advent: Start with invalid file with -l"
-       @advent -l / < pitfall.log > /tmp/coverage_advent_logfail 2>&1 || exit 1
+       @$(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
+       @$(advent) -r thousand_saves.adv < pitfall.log > /tmp/coverage_advent_readfail 2>&1 || exit 1
        @rm -f /tmp/coverage*
 
 coverage: check