summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-12 19:39:10 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-12 19:39:10 (GMT)
commit5dc3cdfd4df03ca7aa4d7db058e2c0b3926d4c10 (patch)
tree6c13c12f9663bbb81c7df8c5aa3d261391a5a197
parente24a73d1a94ac419d3acf6fe0af6d4ce6cfea3c1 (diff)
downloadSCons-5dc3cdfd4df03ca7aa4d7db058e2c0b3926d4c10.zip
SCons-5dc3cdfd4df03ca7aa4d7db058e2c0b3926d4c10.tar.gz
SCons-5dc3cdfd4df03ca7aa4d7db058e2c0b3926d4c10.tar.bz2
fix broken test. 2to3 print changes broke some formatting. Changed output to generate same in a different way
-rw-r--r--test/Variables/ListVariable.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/Variables/ListVariable.py b/test/Variables/ListVariable.py
index c6972c1..e463840 100644
--- a/test/Variables/ListVariable.py
+++ b/test/Variables/ListVariable.py
@@ -67,11 +67,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,)
-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'))