summaryrefslogtreecommitdiffstats
path: root/test/sconsign/script/SConsignFile.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-26 17:17:19 (GMT)
committerSteven Knight <knight@baldmt.com>2009-01-26 17:17:19 (GMT)
commit63e148fc7aae07d15733b7470f648c7377e66402 (patch)
tree010a7b57a8b5fb05d6934cc433f725fa1d7754ce /test/sconsign/script/SConsignFile.py
parent0cb9ac61c6e4eeb45585c39d9b072a488b5d8d44 (diff)
downloadSCons-63e148fc7aae07d15733b7470f648c7377e66402.zip
SCons-63e148fc7aae07d15733b7470f648c7377e66402.tar.gz
SCons-63e148fc7aae07d15733b7470f648c7377e66402.tar.bz2
Fix tests that use the Python interpreter to execute internal scripts
and also set SConsignFile(None) so the implicit command dependencies don't cause .sconsign files to be written into the system directory where the Python executable lives.
Diffstat (limited to 'test/sconsign/script/SConsignFile.py')
-rw-r--r--test/sconsign/script/SConsignFile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sconsign/script/SConsignFile.py b/test/sconsign/script/SConsignFile.py
index 9341062..71c91cb 100644
--- a/test/sconsign/script/SConsignFile.py
+++ b/test/sconsign/script/SConsignFile.py
@@ -110,6 +110,7 @@ env1 = Environment(PROGSUFFIX = '.exe',
OBJSUFFIX = '.obj',
CCCOM = r'%(_python_)s fake_cc.py sub2 $TARGET $SOURCE',
LINKCOM = r'%(_python_)s fake_link.py $TARGET $SOURCE')
+env1.PrependENVPath('PATHEXT', '.PY')
env1.Program('sub1/hello.c')
env2 = env1.Clone(CPPPATH = ['sub2'])
env2.Program('sub2/hello.c')