diff options
| author | Steven Knight <knight@baldmt.com> | 2004-09-15 20:58:14 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2004-09-15 20:58:14 (GMT) |
| commit | f2604ec586b7586f4924e5798e494c836ddfc22b (patch) | |
| tree | ecc76f8489b66890114e6d94d532ee0d4a212abc /test/SourceCode.py | |
| parent | 03ddfaadff09b7702a1406b11f90dbdc45516309 (diff) | |
| download | SCons-f2604ec586b7586f4924e5798e494c836ddfc22b.zip SCons-f2604ec586b7586f4924e5798e494c836ddfc22b.tar.gz SCons-f2604ec586b7586f4924e5798e494c836ddfc22b.tar.bz2 | |
Fix SourceCode test ordering. (Kevin Quick)
Diffstat (limited to 'test/SourceCode.py')
| -rw-r--r-- | test/SourceCode.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/SourceCode.py b/test/SourceCode.py index ea18004..86cc2a6 100644 --- a/test/SourceCode.py +++ b/test/SourceCode.py @@ -56,11 +56,13 @@ def sc_cat(env, source, target): cat(env, source, target) env = Environment(BUILDERS={'Cat':Builder(action=cat)}, SUBDIR='sub') +env.SourceCode('$SUBDIR', Builder(action=sc_cat, env=env)) env.Cat('aaa.out', 'sub/aaa.in') -env.Cat('bbb.out', 'sub/bbb.in') +bbb_in = File('sub/bbb.in') +bbb_in.is_pseudo_derived() +env.Cat('bbb.out', bbb_in) env.Cat('ccc.out', 'sub/ccc.in') env.Cat('all', ['aaa.out', 'bbb.out', 'ccc.out']) -env.SourceCode('$SUBDIR', Builder(action=sc_cat, env=env)) SConscript('sub/SConscript', "env") SourceCode('sub2', Builder(action=sc_cat, env=env)) |
