From: stevenknight Date: Sun, 9 May 2004 02:09:27 +0000 (+0000) Subject: Test portability to Win32. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=113056423f15331bfd4adacfcbaa9fc53b2696e6;p=scons.git Test portability to Win32. git-svn-id: http://scons.tigris.org/svn/scons/trunk@974 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/test/CacheDir.py b/test/CacheDir.py index 44dd708e..a45fe2c9 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")