diff options
author | Steven Knight <knight@baldmt.com> | 2002-02-05 20:08:29 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-02-05 20:08:29 (GMT) |
commit | f6c20c8f66928d7d9845717cca12770dbfc86a59 (patch) | |
tree | 279913aaaa33e5ec28f3699a4a3c894336f56e87 /test/option-i.py | |
parent | ac9aa00b71169ab6d275ee6990248e1778bcf456 (diff) | |
download | SCons-f6c20c8f66928d7d9845717cca12770dbfc86a59.zip SCons-f6c20c8f66928d7d9845717cca12770dbfc86a59.tar.gz SCons-f6c20c8f66928d7d9845717cca12770dbfc86a59.tar.bz2 |
Make scons return a failure code when a Builder fails (Anthony Roach)
Diffstat (limited to 'test/option-i.py')
-rw-r--r-- | test/option-i.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/option-i.py b/test/option-i.py index 6824006..c594563 100644 --- a/test/option-i.py +++ b/test/option-i.py @@ -59,7 +59,8 @@ test.write('aaa.in', "aaa.in\n") test.write('bbb.in', "bbb.in\n") test.run(arguments = 'aaa.1 aaa.out bbb.1 bbb.out', - stderr = 'scons: *** [aaa.1] Error 1\n') + stderr = 'scons: *** [aaa.1] Error 1\n', + status = 2) test.fail_test(os.path.exists(test.workpath('aaa.1'))) test.fail_test(os.path.exists(test.workpath('aaa.out'))) |