projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a1644b7
)
Forward pror to Python achieved, still runs under 2.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 Apr 2019 15:56:13 +0000
(11:56 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 Apr 2019 15:56:13 +0000
(11:56 -0400)
sst.py
patch
|
blob
|
history
test/Makefile
patch
|
blob
|
history
diff --git
a/sst.py
b/sst.py
index 8466a481dbf7caec731003ee5aa64a52f0baa3b3..fec64ec815c8793c23c046301674da5582bdebe8 100755
(executable)
--- 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
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
import os, sys, math, curses, time, pickle, copy, gettext, getpass
import getopt, socket, locale
diff --git
a/test/Makefile
b/test/Makefile
index 91983cec35efe09436cf04851d06add6681ea079..9c27e0396c15d297ab66116691f2b044edfe1d34 100644
(file)
--- a/
test/Makefile
+++ b/
test/Makefile
@@
-1,8
+1,12
@@
# Test-suite makefile for sst
# Test-suite makefile for sst
-PYTHON=python
2
+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
@echo "No diff output is good news."
.SUFFIXES: .log .chk