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 | d15974cb4579eccaec5c35944174423ab9f4cf84 (patch) | |
| tree | 615cbf63b9d282d705d0e755f52f0d66c90eee96 /src/engine | |
| parent | 8d8f6d7586b2330db6ffdccf1cc1a0d38e4ad4e0 (diff) | |
| download | SCons-d15974cb4579eccaec5c35944174423ab9f4cf84.zip SCons-d15974cb4579eccaec5c35944174423ab9f4cf84.tar.gz SCons-d15974cb4579eccaec5c35944174423ab9f4cf84.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')
| -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): |
