summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-10-09 03:23:36 (GMT)
committerSteven Knight <knight@baldmt.com>2004-10-09 03:23:36 (GMT)
commita538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5 (patch)
treee0e0d0df134f2f47857e0a202e6ea95e78552889 /test/option
parent6f708d0ca8b7f61a1d7ba98a945e32b25417952d (diff)
downloadSCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.zip
SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.tar.gz
SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.tar.bz2
Win32 portability fixes for tests.
Diffstat (limited to 'test/option')
-rw-r--r--test/option/debug-findlibs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/option/debug-findlibs.py b/test/option/debug-findlibs.py
index 4827ab0..b18841b 100644
--- a/test/option/debug-findlibs.py
+++ b/test/option/debug-findlibs.py
@@ -36,8 +36,9 @@ test.subdir('sub1', 'sub2')
test.write('cat.py', """\
import sys
-ofp = open(sys.argv[1], "w")
-for ifp in map(open, sys.argv[2:]):
+ofp = open(sys.argv[1], 'wb')
+for f in sys.argv[2:]:
+ ifp = open(f, 'rb')
ofp.write(ifp.read())
ofp.close()
""")