diff options
author | Steven Knight <knight@baldmt.com> | 2004-08-02 01:22:26 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-08-02 01:22:26 (GMT) |
commit | dce793b70d15b4730a46c3f06da9396eec4185ff (patch) | |
tree | 615cbf63b9d282d705d0e755f52f0d66c90eee96 /src/engine/SCons/WarningsTests.py | |
parent | c31a262f4aeaa24903a77e70f36439d31db977c0 (diff) | |
download | SCons-dce793b70d15b4730a46c3f06da9396eec4185ff.zip SCons-dce793b70d15b4730a46c3f06da9396eec4185ff.tar.gz SCons-dce793b70d15b4730a46c3f06da9396eec4185ff.tar.bz2 |
Restore some test files as Aegis tests. Add a packaging test to make sure test files are marked as Aegis tests in the future.
Diffstat (limited to 'src/engine/SCons/WarningsTests.py')
-rw-r--r-- | src/engine/SCons/WarningsTests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/SCons/WarningsTests.py b/src/engine/SCons/WarningsTests.py index 1016fdb..38fa0f5 100644 --- a/src/engine/SCons/WarningsTests.py +++ b/src/engine/SCons/WarningsTests.py @@ -29,7 +29,10 @@ import SCons.Warnings class TestOutput: def __call__(self, x): - self.out = str(x) + args = x[0] + if len(args) == 1: + args = args[0] + self.out = str(args) class WarningsTestCase(unittest.TestCase): def test_Warning(self): |