summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-04-02 20:56:54 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-04-02 20:56:54 (GMT)
commitb94a1792d01d7e47cd577228b97b6f32ab2bc8dc (patch)
tree44a9b4542da26c8f879dde19370e37bec12c221a /test
parent4b2c0674a783c6d2d1f66d2588223bd5d99acda7 (diff)
downloadSCons-b94a1792d01d7e47cd577228b97b6f32ab2bc8dc.zip
SCons-b94a1792d01d7e47cd577228b97b6f32ab2bc8dc.tar.gz
SCons-b94a1792d01d7e47cd577228b97b6f32ab2bc8dc.tar.bz2
Enhanced --debug=explain output. Breaks out sources, depends, and implicit components to dependency list. Updated test. TODO: better formatting
Diffstat (limited to 'test')
-rw-r--r--test/explain/basic.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/explain/basic.py b/test/explain/basic.py
index 99942cd..bd474bb 100644
--- a/test/explain/basic.py
+++ b/test/explain/basic.py
@@ -324,9 +324,15 @@ env.Cat('file3', ['zzz', 'yyy', 'xxx'])
python_sep = python.replace('\\', '\\\\')
expect = test.wrap_stdout("""\
-scons: rebuilding `file3' because the dependency order changed:
- old: ['xxx', 'yyy', 'zzz', '%(python_sep)s']
- new: ['zzz', 'yyy', 'xxx', '%(python_sep)s']
+scons: rebuilding `file3' because:
+ the dependency order changed:
+ ->Sources
+ Old:xxx New:zzz
+ Old:yyy New:yyy
+ Old:zzz New:xxx
+ ->Depends
+ ->Implicit
+ Old:/usr/bin/python New:/usr/bin/python
%(_python_)s %(cat_py)s file3 zzz yyy xxx
""" % locals())