diff options
author | William Blevins <wblevins@gmail.com> | 2015-08-07 14:29:05 (GMT) |
---|---|---|
committer | William Blevins <wblevins@gmail.com> | 2015-08-07 14:29:05 (GMT) |
commit | 352c0ef0203f0f09de077d1662f95d896f08ff1c (patch) | |
tree | 93b16a3742f25bfa2c0674957a2791d587c882c7 /test/explain/save-info.py | |
parent | 27ae977d3fa04e29166e172fa64f7b5439d9f0c8 (diff) | |
download | SCons-352c0ef0203f0f09de077d1662f95d896f08ff1c.zip SCons-352c0ef0203f0f09de077d1662f95d896f08ff1c.tar.gz SCons-352c0ef0203f0f09de077d1662f95d896f08ff1c.tar.bz2 |
Issue 2264: removed implicit dependency recursion from install targets.
Resolves performance issue with implicit dependencies (without builders) reinstalling.
Example (C++):
A.h includes B.h and both are installed somewhere.
B.h is updated so both A.h and B.h would be reinstalled because B.h changed.
A.h didn't need to be reinstalled for obvious reasons.
Background info: this was already an issue for any scanner added to SCANNERS environment.
Did not occur originally because default scanners not in SCANNERS environment.
Diffstat (limited to 'test/explain/save-info.py')
-rw-r--r-- | test/explain/save-info.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/explain/save-info.py b/test/explain/save-info.py index d2ffc7d..af4c3f5 100644 --- a/test/explain/save-info.py +++ b/test/explain/save-info.py @@ -141,7 +141,7 @@ file5.k 1 line 4 test.write(['src', 'subdir', 'file6.in'], "subdir/file6.in 1\n") # -test.run(chdir='src', arguments='.') +test.run(chdir='src', arguments='..') test.must_match(['src', 'file1'], "file1.in 1\n") test.must_match(['src', 'file2'], """\ @@ -176,10 +176,7 @@ scons: rebuilding `file3' because: `yyy' changed `zzz' changed %(_python_)s %(cat_py)s file3 xxx yyy zzz -scons: rebuilding `%(inc_bbb_k)s' because: - `%(inc_ddd)s' is no longer a dependency - `%(inc_eee)s' is no longer a dependency - `bbb.k' changed +scons: rebuilding `%(inc_bbb_k)s' because `bbb.k' changed Install file: "bbb.k" as "%(inc_bbb_k)s" scons: rebuilding `file5' because `%(inc_bbb_k)s' changed %(_python_)s %(cat_py)s file5 file5.k |