summaryrefslogtreecommitdiffstats
path: root/test/sconsign/script/Signatures.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sconsign/script/Signatures.py')
-rw-r--r--test/sconsign/script/Signatures.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/sconsign/script/Signatures.py b/test/sconsign/script/Signatures.py
index 9fdf54e..0b58055 100644
--- a/test/sconsign/script/Signatures.py
+++ b/test/sconsign/script/Signatures.py
@@ -114,8 +114,12 @@ SConsignFile(None)
Decider('timestamp-newer')
env1 = Environment(PROGSUFFIX = '.exe',
OBJSUFFIX = '.obj',
- CCCOM = r'%(fake_cc_py)s sub2 $TARGET $SOURCE',
- LINKCOM = r'%(fake_link_py)s $TARGET $SOURCE')
+ # Specify the command lines with lists-of-lists so
+ # finding the implicit dependencies works even with
+ # spaces in the fake_*_py path names.
+ CCCOM = [[r'%(fake_cc_py)s', 'sub2', '$TARGET', '$SOURCE']],
+ LINKCOM = [[r'%(fake_link_py)s', '$TARGET', '$SOURCE']])
+env1.PrependENVPath('PATHEXT', '.PY')
env1.Program('sub1/hello.c')
env2 = env1.Clone(CPPPATH = ['sub2'])
env2.Program('sub2/hello.c')