Cease testing with Python 2.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 14 Aug 2023 10:23:37 +0000 (06:23 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 14 Aug 2023 10:23:37 +0000 (06:23 -0400)
Makefile
test/Makefile

index c6d84b92ec096f173b9af1942f6323006d8957b6..8ffb21428984fa58447608cfc020d8f67f6398f2 100644 (file)
--- 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
index dd1f5740669c5e8d269266091dcc00d6312b3c1c..ccb1c9bc23ba3300cf218e1dd80cb6948194cbfe 100644 (file)
@@ -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 \