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 | 80b78036051db2f8c4bc560698fd859ebd2c5d95 (patch) | |
tree | 961e6068b83bf5e0a4e4409b6c8cff01c4eb4b8a | |
parent | 4ef08f4ff1914f6a8cf79fde2c105753885a8bfd (diff) | |
download | SCons-80b78036051db2f8c4bc560698fd859ebd2c5d95.zip SCons-80b78036051db2f8c4bc560698fd859ebd2c5d95.tar.gz SCons-80b78036051db2f8c4bc560698fd859ebd2c5d95.tar.bz2 |
Test portability to Win32.
-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") |