summaryrefslogtreecommitdiffstats
path: root/test/explain
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-20 19:46:16 (GMT)
committerSteven Knight <knight@baldmt.com>2009-01-20 19:46:16 (GMT)
commite9fd7c63ea40581ca9a71e4a8660ea02dd045ed0 (patch)
tree947d02c4cd9b4b131145b5be1e50233bd1299a05 /test/explain
parentcba456a330317542c3fe58cf1c4393306dd2019f (diff)
downloadSCons-e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0.zip
SCons-e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0.tar.gz
SCons-e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0.tar.bz2
Update tests for now discovering dependencies on quoted commands
in command lines.
Diffstat (limited to 'test/explain')
-rw-r--r--test/explain/basic.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/explain/basic.py b/test/explain/basic.py
index b30e604..6e37dfa 100644
--- a/test/explain/basic.py
+++ b/test/explain/basic.py
@@ -28,11 +28,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Verify a lot of the basic operation of the --debug=explain option.
"""
-import os.path
+import os
import string
import sys
import TestSCons
+python = TestSCons.python
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
@@ -316,8 +317,8 @@ env.Cat('file3', ['zzz', 'yyy', 'xxx'])
expect = test.wrap_stdout("""\
scons: rebuilding `file3' because the dependency order changed:
- old: ['xxx', 'yyy', 'zzz']
- new: ['zzz', 'yyy', 'xxx']
+ old: ['xxx', 'yyy', 'zzz', '%(python)s']
+ new: ['zzz', 'yyy', 'xxx', '%(python)s']
%(_python_)s %(cat_py)s file3 zzz yyy xxx
""" % locals())