diff options
Diffstat (limited to 'test/errors.py')
-rw-r--r-- | test/errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/errors.py b/test/errors.py index f8c5506..1f582f7 100644 --- a/test/errors.py +++ b/test/errors.py @@ -43,7 +43,7 @@ test.run(arguments='-f SConstruct1', SyntaxError: invalid syntax -""") +""", status=2) test.write('SConstruct2', """ @@ -57,7 +57,7 @@ test.run(arguments='-f SConstruct2', stderr = """ SCons error: Depends\(\) require both sources and targets. File "SConstruct2", line 4, in \? -""") +""", status=2) test.write('SConstruct3', """ assert not globals().has_key("InternalError") @@ -77,6 +77,6 @@ test.run(arguments='-f SConstruct3', File "SConstruct3", line \d+, in \? raise InternalError, 'error inside' InternalError: error inside -""") +""", status=2) test.pass_test() |