diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Variables/ListVariable.py | 13 |
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')) |