From: Eric S. Raymond Date: Mon, 14 Aug 2023 10:23:37 +0000 (-0400) Subject: Cease testing with Python 2. X-Git-Tag: 2.8~47 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6c7148697e4bd75f66d9d7a454a0e67b9a982a64;p=super-star-trek.git Cease testing with Python 2. --- diff --git a/Makefile b/Makefile index c6d84b9..8ffb214 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ super-star-trek-$(VERS).tar.gz: $(SOURCES) sst.6 dist: sst-$(VERS).tar.gz check: pylint - cd test; $(MAKE) --quiet + @cd test >/dev/null; $(MAKE) --quiet pylint: @pylint --score=n sst diff --git a/test/Makefile b/test/Makefile index dd1f574..ccb1c9b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,13 +1,7 @@ # Test-suite makefile for sst -PYTHON=python3 - all: - @echo "With Python 2:" - @$(MAKE) -e PYTHON=python2 regress | ./tapview - @echo "With Python 3:" - @$(MAKE) -e PYTHON=python3 regress | ./tapview - @echo "No diff output is good news." + @$(MAKE) regress | ./tapview .SUFFIXES: .log .chk @@ -15,10 +9,10 @@ all: ../sst -r $< >$@ 2>&1 TESTLOADS := $(shell ls *.log | sed '/.log/s///') -buildregress: +rebuild: @for test in $(TESTLOADS); do \ if [ ! -f $${test}.tst ] ; \ - then \ + then \ echo "Remaking $${test}.chk"; \ rm -f $${test}.chk && ../sst -r $${test}.log >$${test}.chk 2>&1; \ fi \