diff options
Diffstat (limited to 'src/engine/SCons/UtilTests.py')
-rw-r--r-- | src/engine/SCons/UtilTests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/SCons/UtilTests.py b/src/engine/SCons/UtilTests.py index e291662..db6d9f6 100644 --- a/src/engine/SCons/UtilTests.py +++ b/src/engine/SCons/UtilTests.py @@ -56,6 +56,7 @@ class UtilTestCase(unittest.TestCase): def __init__(self, name, children=[]): self.children = children self.name = name + self.nocache = None def __str__(self): return self.name def exists(self): @@ -100,7 +101,7 @@ class UtilTestCase(unittest.TestCase): """ lines = string.split(expect, '\n')[:-1] - lines = map(lambda l: '[E BSPACN]'+l, lines) + lines = map(lambda l: '[E BSPACN ]'+l, lines) withtags = string.join(lines, '\n') + '\n' return foo, expect, withtags @@ -120,10 +121,11 @@ class UtilTestCase(unittest.TestCase): +-blat.h | +-stdlib.h +-bar.h + +-[stdlib.h] """ lines = string.split(expect, '\n')[:-1] - lines = map(lambda l: '[E BSPACN]'+l, lines) + lines = map(lambda l: '[E BSPACN ]'+l, lines) withtags = string.join(lines, '\n') + '\n' return blat_o, expect, withtags |