Merge "Fixing run_tests.py so it emits an error upon failure."
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user