diff options
| author | Steven Knight <knight@baldmt.com> | 2004-01-04 14:36:40 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2004-01-04 14:36:40 (GMT) |
| commit | ffa68a9db1f04d9efedab845c1c744bc9c7e785b (patch) | |
| tree | 80a5a0a882566123f73db2719df959eceb063d60 /src/engine/SCons/Node/FSTests.py | |
| parent | 21bcea81ee5091735a41d7bfac8d5398dc8bf97f (diff) | |
| download | SCons-ffa68a9db1f04d9efedab845c1c744bc9c7e785b.zip SCons-ffa68a9db1f04d9efedab845c1c744bc9c7e785b.tar.gz SCons-ffa68a9db1f04d9efedab845c1c744bc9c7e785b.tar.bz2 | |
Miscellaneous changes: update a call to env.subst(); white space cleanup in EnvironmentTests.py and Node/NodeTests.py; more informative failure reporting in Node/FSTests.py; remove the now-unused SCons.Node.arg2nodes() function.
Diffstat (limited to 'src/engine/SCons/Node/FSTests.py')
| -rw-r--r-- | src/engine/SCons/Node/FSTests.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py index fcd605b..739d4e9 100644 --- a/src/engine/SCons/Node/FSTests.py +++ b/src/engine/SCons/Node/FSTests.py @@ -1708,36 +1708,36 @@ class SpecialAttrTestCase(unittest.TestCase): f=fs.Entry('foo/bar/baz.blat').get_subst_proxy() assert str(f.dir) == os.path.normpath('foo/bar'), str(f.dir) - assert f.dir.is_literal() + assert f.dir.is_literal(), f.dir assert f.dir.for_signature() == 'bar', f.dir.for_signature() assert str(f.file) == 'baz.blat', str(f.file) - assert f.file.is_literal() + assert f.file.is_literal(), f.file assert f.file.for_signature() == 'baz.blat_file', \ f.file.for_signature() assert str(f.base) == os.path.normpath('foo/bar/baz'), str(f.base) - assert f.base.is_literal() + assert f.base.is_literal(), f.base assert f.base.for_signature() == 'baz.blat_base', \ f.base.for_signature() assert str(f.filebase) == 'baz', str(f.filebase) - assert f.filebase.is_literal() + assert f.filebase.is_literal(), f.filebase assert f.filebase.for_signature() == 'baz.blat_filebase', \ f.filebase.for_signature() assert str(f.suffix) == '.blat', str(f.suffix) - assert f.suffix.is_literal() + assert f.suffix.is_literal(), f.suffix assert f.suffix.for_signature() == 'baz.blat_suffix', \ f.suffix.for_signature() assert str(f.abspath) == test.workpath('foo', 'bar', 'baz.blat'), str(f.abspath) - assert f.abspath.is_literal() + assert f.abspath.is_literal(), f.abspath assert f.abspath.for_signature() == 'baz.blat_abspath', \ f.abspath.for_signature() assert str(f.posix) == 'foo/bar/baz.blat', str(f.posix) - assert f.posix.is_literal() + assert f.posix.is_literal(), f.posix if f.posix != f: assert f.posix.for_signature() == 'baz.blat_posix', \ f.posix.for_signature() @@ -1771,11 +1771,11 @@ class SpecialAttrTestCase(unittest.TestCase): fs.BuildDir('foo', 'baz') assert str(f.srcpath) == os.path.normpath('baz/bar/baz.blat'), str(f.srcpath) - assert f.srcpath.is_literal() + assert f.srcpath.is_literal(), f.srcpath assert isinstance(f.srcpath.get(), SCons.Node.FS.Entry) assert str(f.srcdir) == os.path.normpath('baz/bar'), str(f.srcdir) - assert f.srcdir.is_literal() + assert f.srcdir.is_literal(), f.srcdir assert isinstance(f.srcdir.get(), SCons.Node.FS.Dir) # And now, combinations!!! |
