summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnthony Roach <aroach@electriceyeball.com>2001-09-01 16:03:31 (GMT)
committerAnthony Roach <aroach@electriceyeball.com>2001-09-01 16:03:31 (GMT)
commitdbe5a03db469ea8ba63feb94e62edce44d058c00 (patch)
tree38b849efbcf6ed7991215b1c15e504136671f652 /src
parent55e686655cd6d1c19dbc6380101af5c0216c5275 (diff)
downloadSCons-dbe5a03db469ea8ba63feb94e62edce44d058c00.zip
SCons-dbe5a03db469ea8ba63feb94e62edce44d058c00.tar.gz
SCons-dbe5a03db469ea8ba63feb94e62edce44d058c00.tar.bz2
Make the build portable to Windows NT.
Diffstat (limited to 'src')
-rw-r--r--src/scons/BuilderTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scons/BuilderTests.py b/src/scons/BuilderTests.py
index df585df..1effa89 100644
--- a/src/scons/BuilderTests.py
+++ b/src/scons/BuilderTests.py
@@ -56,7 +56,7 @@ class BuilderTestCase(unittest.TestCase):
cmd = "python %s %s xyzzy" % (act_py, outfile)
builder = Builder(action = cmd)
builder.execute()
- assert test.read(outfile) == "act.py: xyzzy\n"
+ assert test.read(outfile, 'r') == "act.py: xyzzy\n"
def function(kw):
import os, string, sys
@@ -67,7 +67,7 @@ class BuilderTestCase(unittest.TestCase):
builder = Builder(action = function)
builder.execute(out = outfile)
- assert test.read(outfile) == "function\n"
+ assert test.read(outfile, 'r') == "function\n"
def test_insuffix(self):
"""Test Builder creation with a specified input suffix