diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-06 04:04:12 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-06 04:04:12 (GMT) |
commit | dbc516410656ee3b584c6cd7d9c9d6921882d4b4 (patch) | |
tree | 86899649564bf5d47e24fddb9ad0e94ab9f6045b /test/explain.py | |
parent | 81d864dc3633dee1cc30af3e286f95d81956b7a5 (diff) | |
download | SCons-dbc516410656ee3b584c6cd7d9c9d6921882d4b4.zip SCons-dbc516410656ee3b584c6cd7d9c9d6921882d4b4.tar.gz SCons-dbc516410656ee3b584c6cd7d9c9d6921882d4b4.tar.bz2 |
Better --debug=explain info when build actions change. (Kevin Quick)
Diffstat (limited to 'test/explain.py')
-rw-r--r-- | test/explain.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/explain.py b/test/explain.py index be966c0..eed95c4 100644 --- a/test/explain.py +++ b/test/explain.py @@ -455,7 +455,9 @@ if mode: tgt = str(target[0]) src = str(source[0]) shutil.copy(src, tgt) - MyCopy = Builder(action = DifferentCopy) + def AltCopyStage2(target, source, env): + pass + MyCopy = Builder(action = [DifferentCopy, AltCopyStage2]) def ChangingCopy(target, source, env): tgt = str(target[0]) @@ -491,8 +493,11 @@ test.run(chdir = 'work5', scons: rebuilding `f1.out' because the build action changed: old: Copy("f1.out", "f1.in") new: DifferentCopy(["f1.out"], ["f1.in"]) + AltCopyStage2(["f1.out"], ["f1.in"]) DifferentCopy(["f1.out"], ["f1.in"]) +AltCopyStage2(["f1.out"], ["f1.in"]) scons: rebuilding `f2.out' because the contents of the build action changed + action: ChangingCopy(["f2.out"], ["f2.in"]) ChangingCopy(["f2.out"], ["f2.in"]) """)) |