Ubuntu has abolished /usr/bin/python, change shebang to python3.
[super-star-trek.git] / test / Makefile
index 557cbd50658da21b91653fc8c0e7f658d074ef23..7b21af033e4783e0c9d3922a806387428b66a887 100644 (file)
@@ -1,21 +1,24 @@
 # Test-suite makefile for sst
 
-PYTHON=python
+PYTHON=python3
 
-TAPFILTER=cat
+# The tests output TAP (Test Anything Proocol)
+# If you have either of these TAP viwers installed,
+# S good ing will happen.
+TAPVIEWER=cat
 ifeq (,$(command -v tapview))
-       TAPFILTER=tapview
+       TAPVIEWER=tapview
 else
        ifeq (,$(command -v tappy))
-               TAPFILTER=tappy
+               TAPVIEWER=tappy
        endif
 endif
 
 all:
        @echo "With Python 2:"
-       @$(MAKE) -e PYTHON=python2 regress | $(TAPFILTER)
+       @$(MAKE) -e PYTHON=python2 regress | $(TAPVIEWER)
        @echo "With Python 3:"
-       @$(MAKE) -e PYTHON=python3 regress | $(TAPFILTER)
+       @$(MAKE) -e PYTHON=python3 regress | $(TAPVIEWER)
        @echo "No diff output is good news."
 
 .SUFFIXES: .log .chk