From: Eric S. Raymond Date: Wed, 24 Apr 2019 15:56:13 +0000 (-0400) Subject: Forward pror to Python achieved, still runs under 2. X-Git-Tag: 2.5~10 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=54df4096ced6cdbd61c349a728d00eb83f4ba295;p=super-star-trek.git Forward pror to Python achieved, still runs under 2. --- diff --git a/sst.py b/sst.py index 8466a48..fec64ec 100755 --- a/sst.py +++ b/sst.py @@ -12,6 +12,8 @@ See the doc/HACKING file in the distribution for designers notes and advice on how to modify (and how not to modify!) this code. """ from __future__ import print_function, division +# Runs under Python 2 an Python 3. Preserve this property! +# SPDX-License-Identifier: BSD-2-clause import os, sys, math, curses, time, pickle, copy, gettext, getpass import getopt, socket, locale diff --git a/test/Makefile b/test/Makefile index 91983ce..9c27e03 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,8 +1,12 @@ # Test-suite makefile for sst -PYTHON=python2 +PYTHON=python -all: regress +all: + @echo "With Python 2:" + @make -e PYTHON=python2 regress + @echo "With Python 3:" + @make -e PYTHON=python3 regress @echo "No diff output is good news." .SUFFIXES: .log .chk