Python-agnosticize coverage_dungeon.py. 236/head
authorJason S. Ninneman <jsn@mbar.us>
Tue, 11 Jul 2017 23:07:09 +0000 (16:07 -0700)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 11 Jul 2017 23:14:40 +0000 (23:14 +0000)
tests/Makefile
tests/coverage_dungeon.py [changed mode: 0644->0755]

index 11083b8b80039a1f58a6710618dbff1e567b28c9..c93f6bbeb49d190b2b0f1ba36d38d0fbf4909463 100644 (file)
@@ -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
 
old mode 100644 (file)
new mode 100755 (executable)
index 7d3ea98..766a266
@@ -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