diff options
author | Steven Knight <knight@baldmt.com> | 2004-05-09 02:09:27 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-05-09 02:09:27 (GMT) |
commit | a796d320b90d03a79d3a73971176a9a6959e5c7e (patch) | |
tree | 961e6068b83bf5e0a4e4409b6c8cff01c4eb4b8a /test/CacheDir.py | |
parent | 726fb30a6bf97ec2bc59c630f8291a990050cb13 (diff) | |
download | SCons-a796d320b90d03a79d3a73971176a9a6959e5c7e.zip SCons-a796d320b90d03a79d3a73971176a9a6959e5c7e.tar.gz SCons-a796d320b90d03a79d3a73971176a9a6959e5c7e.tar.bz2 |
Test portability to Win32.
Diffstat (limited to 'test/CacheDir.py')
-rw-r--r-- | test/CacheDir.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CacheDir.py b/test/CacheDir.py index 44dd708..a45fe2c 100644 --- a/test/CacheDir.py +++ b/test/CacheDir.py @@ -276,9 +276,12 @@ test.fail_test(os.path.exists(test.workpath('cache3', 'N', 'None'))) test.subdir('multiple', 'cache4') test.write(['multiple', 'SConstruct'], """\ +def touch(env, source, target): + open('foo', 'w').write("") + open('bar', 'w').write("") CacheDir(r'%s') env = Environment() -env.Command(['foo', 'bar'], ['input'], 'touch foo bar') +env.Command(['foo', 'bar'], ['input'], touch) """ % (test.workpath('cache4'))) test.write(['multiple', 'input'], "multiple/input\n") |