summaryrefslogtreecommitdiffstats
path: root/test/Configure
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2016-01-01 15:23:41 (GMT)
committerRussel Winder <russel@winder.org.uk>2016-01-01 15:23:41 (GMT)
commit7b68ccb54e7b4d2200f8ac813eb6f8b2ae3654eb (patch)
tree5331118c851cdbc48ce2f983141ccd7c170e88f9 /test/Configure
parente9989979ac3411919935afe3a8c8c70ebbc4fd58 (diff)
downloadSCons-7b68ccb54e7b4d2200f8ac813eb6f8b2ae3654eb.zip
SCons-7b68ccb54e7b4d2200f8ac813eb6f8b2ae3654eb.tar.gz
SCons-7b68ccb54e7b4d2200f8ac813eb6f8b2ae3654eb.tar.bz2
Some more print statements to functions.
Diffstat (limited to 'test/Configure')
-rw-r--r--test/Configure/Streamer1.py2
-rw-r--r--test/Configure/cache-not-ok.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Configure/Streamer1.py b/test/Configure/Streamer1.py
index 8f35308..318a936 100644
--- a/test/Configure/Streamer1.py
+++ b/test/Configure/Streamer1.py
@@ -45,7 +45,7 @@ test.write('SConstruct', """
def hello(target, source, env):
import traceback
try:
- print 'hello!\\n' # this breaks the script
+ print('hello!\\n') # this breaks the script
with open(env.subst('$TARGET', target = target),'w') as f:
f.write('yes')
except:
diff --git a/test/Configure/cache-not-ok.py b/test/Configure/cache-not-ok.py
index ccbb7d5..7502f7a 100644
--- a/test/Configure/cache-not-ok.py
+++ b/test/Configure/cache-not-ok.py
@@ -53,7 +53,7 @@ r1 = conf.CheckCHeader( 'no_std_c_header.h' ) # leads to compile error
r2 = conf.CheckLib( 'no_c_library_SAFFDG' ) # leads to link error
env = conf.Finish()
if not (not r1 and not r2):
- print "FAIL: ", r1, r2
+ print("FAIL: ", r1, r2)
Exit(1)
""")