summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-05-04 06:24:16 (GMT)
committerSteven Knight <knight@baldmt.com>2004-05-04 06:24:16 (GMT)
commit10efdf16045175fdd2deaa9b23ca73ebe7ead441 (patch)
tree113871cf2d4060832b5a61b7da194892ce0dba40 /src
parentbde114d6bf2c4c5c868be1c09738d701b41e3560 (diff)
downloadSCons-10efdf16045175fdd2deaa9b23ca73ebe7ead441.zip
SCons-10efdf16045175fdd2deaa9b23ca73ebe7ead441.tar.gz
SCons-10efdf16045175fdd2deaa9b23ca73ebe7ead441.tar.bz2
Portability fixes for Win32.
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Node/FSTests.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py
index 9a5be45..cebad00 100644
--- a/src/engine/SCons/Node/FSTests.py
+++ b/src/engine/SCons/Node/FSTests.py
@@ -1944,12 +1944,14 @@ class SaveStringsTestCase(unittest.TestCase):
fs1.BuildDir('d1', 'src', duplicate=1)
s = map(str, nodes)
- assert s == ['src/f', 'd1/f', 'd0/b', 'd1/b'], s
+ expect = map(os.path.normpath, ['src/f', 'd1/f', 'd0/b', 'd1/b'])
+ assert s == expect, s
modify(nodes)
s = map(str, nodes)
- assert s == ['src/f', 'src/f', 'd0/b', 'd1/b'], s
+ expect = map(os.path.normpath, ['src/f', 'src/f', 'd0/b', 'd1/b'])
+ assert s == expect, s
SCons.Node.FS.save_strings(1)
fs2 = SCons.Node.FS.FS(test.workpath('fs2'))
@@ -1958,12 +1960,14 @@ class SaveStringsTestCase(unittest.TestCase):
fs2.BuildDir('d1', 'src', duplicate=1)
s = map(str, nodes)
- assert s == ['src/f', 'd1/f', 'd0/b', 'd1/b'], s
+ expect = map(os.path.normpath, ['src/f', 'd1/f', 'd0/b', 'd1/b'])
+ assert s == expect, s
modify(nodes)
s = map(str, nodes)
- assert s == ['src/f', 'd1/f', 'd0/b', 'd1/b'], s
+ expect = map(os.path.normpath, ['src/f', 'd1/f', 'd0/b', 'd1/b'])
+ assert s == expect, s