diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-05 20:10:43 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-05 20:10:43 (GMT) |
commit | 8c0944c021fb182621e27270d970287d63943e92 (patch) | |
tree | 84c5de901e52ffa99f41e99863e1f88e75ccea5b /src/engine/SCons/SConfTests.py | |
parent | 7a9bf5959b5ae04c7ab84ac93e8908b82a2413c2 (diff) | |
download | SCons-8c0944c021fb182621e27270d970287d63943e92.zip SCons-8c0944c021fb182621e27270d970287d63943e92.tar.gz SCons-8c0944c021fb182621e27270d970287d63943e92.tar.bz2 |
Lots of Configure() enhancements. (Christoph Wiedemann)
Diffstat (limited to 'src/engine/SCons/SConfTests.py')
-rw-r--r-- | src/engine/SCons/SConfTests.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/engine/SCons/SConfTests.py b/src/engine/SCons/SConfTests.py index f9c144c..1f6e65c 100644 --- a/src/engine/SCons/SConfTests.py +++ b/src/engine/SCons/SConfTests.py @@ -122,7 +122,7 @@ class SConfTestCase(unittest.TestCase): sconf.Finish() # we should have exactly one one error cached log = self.test.read( self.test.workpath('config.log') ) - expr = re.compile( ".*(\(cached\))", re.DOTALL ) + expr = re.compile( ".*failed in a previous run and all", re.DOTALL ) firstOcc = expr.match( log ) assert firstOcc != None secondOcc = expr.match( log, firstOcc.end(0) ) @@ -191,6 +191,10 @@ class SConfTestCase(unittest.TestCase): return def built(self): pass + def get_stored_info(self): + pass + def calc_signature(self, calc): + pass return [MyNode('n1'), MyNode('n2')] try: self.scons_env.Append(BUILDERS = {'SConfActionBuilder' : MyBuilder()}) @@ -245,9 +249,9 @@ int main() { assert not res[1][0] and res[1][1] == "" finally: sconf.Finish() - # we should have exactly one one error cached + # we should have exactly one error cached log = self.test.read( self.test.workpath('config.log') ) - expr = re.compile( ".*(\(cached\))", re.DOTALL ) + expr = re.compile( ".*failed in a previous run and all", re.DOTALL ) firstOcc = expr.match( log ) assert firstOcc != None secondOcc = expr.match( log, firstOcc.end(0) ) @@ -392,7 +396,6 @@ int main() { assert got == expect, "before and after LIBS were not the same" finally: sconf.env = env - finally: sconf.Finish() |