summaryrefslogtreecommitdiff
path: root/test/explain
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-20 19:46:16 +0000
committerSteven Knight <knight@baldmt.com>2009-01-20 19:46:16 +0000
commita0c1200e2c18d2b117c8a70dae75378275288ffd (patch)
tree947d02c4cd9b4b131145b5be1e50233bd1299a05 /test/explain
parenta0303547bbaf547143f470ec8eb693a376d4fff1 (diff)
downloadscons-a0c1200e2c18d2b117c8a70dae75378275288ffd.tar.gz
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 b30e6043..6e37dfac 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())