Merge "Fixing run_tests.py so it emits an error upon failure."
This commit is contained in:
@@ -94,7 +94,8 @@ def replace_poll_until():
|
|||||||
from reddwarf.tests import util as test_utils
|
from reddwarf.tests import util as test_utils
|
||||||
rd_utils.poll_until = test_utils.poll_until
|
rd_utils.poll_until = test_utils.poll_until
|
||||||
|
|
||||||
if __name__=="__main__":
|
if __name__ == "__main__":
|
||||||
|
try:
|
||||||
wsgi_install()
|
wsgi_install()
|
||||||
add_support_for_localization()
|
add_support_for_localization()
|
||||||
replace_poll_until()
|
replace_poll_until()
|
||||||
@@ -126,5 +127,7 @@ if __name__=="__main__":
|
|||||||
from reddwarf.tests.api.mgmt import instances
|
from reddwarf.tests.api.mgmt import instances
|
||||||
from reddwarf.tests.api.mgmt import instances_actions
|
from reddwarf.tests.api.mgmt import instances_actions
|
||||||
from reddwarf.tests.api.mgmt import storage
|
from reddwarf.tests.api.mgmt import storage
|
||||||
|
except Exception, e:
|
||||||
|
print "Run tests failed %s" % e.msg
|
||||||
|
|
||||||
proboscis.TestProgram().run_and_exit()
|
proboscis.TestProgram().run_and_exit()
|
||||||
|
|||||||
Reference in New Issue
Block a user