diff options
| author | Steven Knight <knight@baldmt.com> | 2002-10-18 01:09:14 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2002-10-18 01:09:14 (GMT) |
| commit | 24f95ab2762edefba6fc7afd3a302c2d2d69c5e1 (patch) | |
| tree | bc7cea9cfb1f13a66da2c59c652d170ee8d498ad /src/engine/SCons/Node/FSTests.py | |
| parent | bd91e792df09aebec78f7972e17eab873dc71246 (diff) | |
| download | SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.zip SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.tar.gz SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.tar.bz2 | |
Win32 test portability.
Diffstat (limited to 'src/engine/SCons/Node/FSTests.py')
| -rw-r--r-- | src/engine/SCons/Node/FSTests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py index 0c7bd69..1610ec6 100644 --- a/src/engine/SCons/Node/FSTests.py +++ b/src/engine/SCons/Node/FSTests.py @@ -194,7 +194,7 @@ class BuildDirTestCase(unittest.TestCase): # But we do have a file in the Repository assert f3.rexists() # rfile() should point to the source path - assert f3.rfile().path == test.workpath('rep1/src/test2.in'),\ + assert f3.rfile().path == os.path.normpath(test.workpath('rep1/src/test2.in')),\ f3.rfile().path assert f4.srcnode().path == os.path.normpath('src/test2.in'),\ @@ -228,12 +228,12 @@ class BuildDirTestCase(unittest.TestCase): assert not f7.exists() assert f7.rexists() - assert f7.rfile().path == test.workpath('rep1/build/var1/test2.out'),\ + assert f7.rfile().path == os.path.normpath(test.workpath('rep1/build/var1/test2.out')),\ f7.rfile().path assert not f8.exists() assert f8.rexists() - assert f8.rfile().path == test.workpath('rep1/build/var2/test2.out'),\ + assert f8.rfile().path == os.path.normpath(test.workpath('rep1/build/var2/test2.out')),\ f8.rfile().path # Test to see if file_link() works... |
