From: Jason S. Ninneman Date: Tue, 11 Jul 2017 23:07:09 +0000 (-0700) Subject: Python-agnosticize coverage_dungeon.py. X-Git-Tag: 1.3~131 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F236%2Fhead;p=open-adventure.git Python-agnosticize coverage_dungeon.py. --- diff --git a/tests/Makefile b/tests/Makefile index 11083b8..c93f6bb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -26,7 +26,7 @@ check: savecheck regress coverage: check lcov -t "advent" -o ../advent.info -c -d .. --gcov-tool=$(GCOV) genhtml -o ../coverage/ ../advent.info - python3 coverage_dungeon.py + ./coverage_dungeon.py .SUFFIXES: .chk diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py old mode 100644 new mode 100755 index 7d3ea98..766a266 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python # This is the open-adventure dungeon text coverage report generator. It # consumes a YAML description of the dungeon and determines whether the