diff options
| author | Steven Knight <knight@baldmt.com> | 2003-09-14 19:29:01 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2003-09-14 19:29:01 (GMT) |
| commit | 3ab7670a45179b7a09eabc219842f6c224ad35da (patch) | |
| tree | aca25fd119f68b44fa181a90bd535bfdfb01fed5 /test/CacheDir.py | |
| parent | 1c2ac0f2ca0c14d1181add9cc66d9650fece1481 (diff) | |
| download | SCons-3ab7670a45179b7a09eabc219842f6c224ad35da.zip SCons-3ab7670a45179b7a09eabc219842f6c224ad35da.tar.gz SCons-3ab7670a45179b7a09eabc219842f6c224ad35da.tar.bz2 | |
Make more Environment methods from global functions.
Diffstat (limited to 'test/CacheDir.py')
| -rw-r--r-- | test/CacheDir.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CacheDir.py b/test/CacheDir.py index de78e7a..a906b6a 100644 --- a/test/CacheDir.py +++ b/test/CacheDir.py @@ -150,10 +150,11 @@ test.write(['src', 'ccc.in'], "ccc.in\n") # test.write('SConstruct', """\ -CacheDir(r'%s') +env = Environment(TWO = '2') +env.CacheDir(r'%s') BuildDir('build', 'src', duplicate=0) SConscript('build/SConscript') -""" % test.workpath('cache2')) +""" % test.workpath('cache${TWO}')) # Verify that a normal build works correctly, and clean up. # This should populate the cache with our derived files. |
