diff options
| author | Ryan Williams <rdw@lindenlab.com> | 2009-12-04 18:15:22 -0800 |
|---|---|---|
| committer | Ryan Williams <rdw@lindenlab.com> | 2009-12-04 18:15:22 -0800 |
| commit | cb1cc4d0bd2bdaa24e504220f6869995d41daac6 (patch) | |
| tree | e0da3163656a48cc2795e46b3b5d869301fe7ca2 /tests/nosewrapper.py | |
| parent | d59bfbfcf4bc774a43f38e78828c2e9881c9769c (diff) | |
| download | eventlet-cb1cc4d0bd2bdaa24e504220f6869995d41daac6.tar.gz | |
Time to get some of those lovely yellow statuses.
Diffstat (limited to 'tests/nosewrapper.py')
| -rw-r--r-- | tests/nosewrapper.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/nosewrapper.py b/tests/nosewrapper.py index 7b23a16..852f222 100644 --- a/tests/nosewrapper.py +++ b/tests/nosewrapper.py @@ -13,6 +13,14 @@ if sys.version_info < (2,5): argv = sys.argv + ["--exclude=.*test__api_timeout.*"] else: argv = sys.argv + +# hudson does a better job printing the test results if the exit value is 0 +zero_status = '--force-zero-status' +if zero_status in sys.argv: + sys.argv.remove(zero_status) + launch = nose.run +else: + launch = nose.main from tests import eventlethub -nose.main(addplugins=[eventlethub.EventletHub()], argv=argv) +launch(addplugins=[eventlethub.EventletHub()]) |
