From 08da62875d9b030f0a8d98a702ee5b242f984477 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 16 Apr 2021 16:52:29 -0400 Subject: [PATCH] TAP explanation and NEWS update. --- NEWS | 2 ++ test/Makefile | 13 ++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 4d7c4d4..d85264c 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ Repository head:: Fixed a longstanding bug in the chart display. + Minor port fixes for recent Python 23 versions. + Test suite is TAPified. 2.5: 2019-04-24:: Now runs identically under Python 2 and Python 3. 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 -- 2.31.1