From 113056423f15331bfd4adacfcbaa9fc53b2696e6 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sun, 9 May 2004 02:09:27 +0000 Subject: [PATCH] Test portability to Win32. git-svn-id: http://scons.tigris.org/svn/scons/trunk@974 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/CacheDir.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- 2.26.2