Fixing run_tests.py so it emits an error upon failure.
fixes bug 1144683 Change-Id: If9ef4e53d012fed1c44ea5c099f2e750c167265d
This commit is contained in:
parent
44544e587a
commit
4374be7a20
|
@ -95,6 +95,7 @@ def replace_poll_until():
|
|||
rd_utils.poll_until = test_utils.poll_until
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
wsgi_install()
|
||||
add_support_for_localization()
|
||||
replace_poll_until()
|
||||
|
@ -126,5 +127,7 @@ if __name__=="__main__":
|
|||
from reddwarf.tests.api.mgmt import instances
|
||||
from reddwarf.tests.api.mgmt import instances_actions
|
||||
from reddwarf.tests.api.mgmt import storage
|
||||
except Exception, e:
|
||||
print "Run tests failed %s" % e.msg
|
||||
|
||||
proboscis.TestProgram().run_and_exit()
|
||||
|
|
Loading…
Reference in New Issue