diff options
author | Russel Winder <russel@winder.org.uk> | 2016-01-01 15:01:27 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2016-01-01 15:01:27 (GMT) |
commit | e9989979ac3411919935afe3a8c8c70ebbc4fd58 (patch) | |
tree | 7fdc13c5731ee72d402b6ac19c52b506df77d574 /test/CC | |
parent | 85aa9baee353e5a7710cb34932ea7ed09a847e39 (diff) | |
download | SCons-e9989979ac3411919935afe3a8c8c70ebbc4fd58.zip SCons-e9989979ac3411919935afe3a8c8c70ebbc4fd58.tar.gz SCons-e9989979ac3411919935afe3a8c8c70ebbc4fd58.tar.bz2 |
Some more print statements to functions.
Diffstat (limited to 'test/CC')
-rw-r--r-- | test/CC/CFLAGS.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CC/CFLAGS.py b/test/CC/CFLAGS.py index 6ea87ad..590d6b5 100644 --- a/test/CC/CFLAGS.py +++ b/test/CC/CFLAGS.py @@ -32,10 +32,10 @@ test = TestSCons.TestSCons() # Make sure CFLAGS is not passed to CXX by just expanding CXXCOM test.write('SConstruct', """ env = Environment(CFLAGS='-xyz', CCFLAGS='-abc') -print env.subst('$CXXCOM') -print env.subst('$CXXCOMSTR') -print env.subst('$SHCXXCOM') -print env.subst('$SHCXXCOMSTR') +print(env.subst('$CXXCOM')) +print(env.subst('$CXXCOMSTR')) +print(env.subst('$SHCXXCOM')) +print(env.subst('$SHCXXCOMSTR')) """) test.run(arguments = '.') test.must_not_contain_any_line(test.stdout(), ["-xyz"]) @@ -46,7 +46,7 @@ _obj = TestSCons._obj # Test passing CFLAGS to C compiler by actually compiling programs if sys.platform == 'win32': import SCons.Tool.MSCommon as msc - + if not msc.msvc_exists(): fooflags = '-DFOO' barflags = '-DBAR' |