X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=test%2FMakefile;h=a0d91268843cbdeed72418fbd92af9dcda24dd6b;hp=557cbd50658da21b91653fc8c0e7f658d074ef23;hb=08da62875d9b030f0a8d98a702ee5b242f984477;hpb=d9b677a42a28fde6471b8467bffdf63ac9f144a3 diff --git a/test/Makefile b/test/Makefile index 557cbd5..a0d9126 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,20 +2,23 @@ PYTHON=python -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