summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/WarningsTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-02 01:22:26 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-02 01:22:26 (GMT)
commitdce793b70d15b4730a46c3f06da9396eec4185ff (patch)
tree615cbf63b9d282d705d0e755f52f0d66c90eee96 /src/engine/SCons/WarningsTests.py
parentc31a262f4aeaa24903a77e70f36439d31db977c0 (diff)
downloadSCons-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.py5
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):