summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-12 22:21:29 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-12 22:21:29 (GMT)
commit254e647fbe03e280af8f595fff9606d8ec003972 (patch)
tree8a25ac29a4f827071f4f6af3aeb5a83e4f804d5e
parentfdd25f581023b3a4a98a4682ee20c64fb7567f90 (diff)
downloadSCons-254e647fbe03e280af8f595fff9606d8ec003972.zip
SCons-254e647fbe03e280af8f595fff9606d8ec003972.tar.gz
SCons-254e647fbe03e280af8f595fff9606d8ec003972.tar.bz2
fix print() conversion on test
-rw-r--r--test/Deprecated/Options/ListOption.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/Deprecated/Options/ListOption.py b/test/Deprecated/Options/ListOption.py
index ad804f2..42af511 100644
--- a/test/Deprecated/Options/ListOption.py
+++ b/test/Deprecated/Options/ListOption.py
@@ -68,11 +68,14 @@ opts.Save(optsfile, env)
Help(opts.GenerateHelpText(env))
print(env['shared'])
-if 'ical' in env['shared']: print('1')
-else: print('0')
-for x in env['shared']:
- print(x, end='')
-print()
+
+if 'ical' in env['shared']:
+ print('1')
+else:
+ print('0')
+
+print(" ".join(env['shared']))
+
print(env.subst('$shared'))
# Test subst_path() because it's used in $CPPDEFINES expansions.
print(env.subst_path('$shared'))