summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'))