diff options
| author | Steven Knight <knight@baldmt.com> | 2004-09-27 21:23:04 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2004-09-27 21:23:04 (GMT) |
| commit | 2af9b1c17b019d339ad31db5ca310023b1448c40 (patch) | |
| tree | f43576c3c7ddce67d169ed799471c6d385b5cbba /src/engine/SCons/Node/FSTests.py | |
| parent | 4b86ecf345ec8e865e530cb6d011b7c6c1cee93b (diff) | |
| download | SCons-2af9b1c17b019d339ad31db5ca310023b1448c40.zip SCons-2af9b1c17b019d339ad31db5ca310023b1448c40.tar.gz SCons-2af9b1c17b019d339ad31db5ca310023b1448c40.tar.bz2 | |
Add support for changing directory when executing Actions (the to the target directory by default).
Diffstat (limited to 'src/engine/SCons/Node/FSTests.py')
| -rw-r--r-- | src/engine/SCons/Node/FSTests.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py index 4501cf1..ca14c3b 100644 --- a/src/engine/SCons/Node/FSTests.py +++ b/src/engine/SCons/Node/FSTests.py @@ -87,9 +87,6 @@ class Action: pass def strfunction(self, targets, sources, env): return "" - def get_actions(self): - return [self] - class Builder: def __init__(self, factory, action=Action()): self.factory = factory @@ -97,9 +94,6 @@ class Builder: self.overrides = {} self.action = action - def get_actions(self): - return [self] - def targets(self, t): return [t] @@ -1541,15 +1535,6 @@ class prepareTestCase(unittest.TestCase): dir = fs.Dir("dir") dir.prepare() -class get_actionsTestCase(unittest.TestCase): - def runTest(self): - """Test the Dir's get_action() method""" - - fs = SCons.Node.FS.FS() - dir = fs.Dir('.') - a = dir.get_actions() - assert a == [], a - class SConstruct_dirTestCase(unittest.TestCase): def runTest(self): """Test setting the SConstruct directory""" @@ -2013,7 +1998,6 @@ if __name__ == "__main__": suite.addTest(stored_infoTestCase()) suite.addTest(has_src_builderTestCase()) suite.addTest(prepareTestCase()) - suite.addTest(get_actionsTestCase()) suite.addTest(SConstruct_dirTestCase()) suite.addTest(CacheDirTestCase()) suite.addTest(clearTestCase()) |
