Commit 1931d366 authored by Jérome Perrin's avatar Jérome Perrin

register an atexit handler to make sure zope is stopped, for example when we

interrupt the process.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15308 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 096c01dd
......@@ -9,7 +9,7 @@ import urllib2
from subprocess import Popen, PIPE
from sendMail import sendMail
import pysvn
import atexit
__doc__ = """%(program)s: Zelenium functional test runner for the ERP5 Project
......@@ -212,8 +212,7 @@ Following tests failed:
if __name__ == "__main__":
parseArgs()
startZope()
atexit.register(stopZope)
main()
status = sendResult()
stopZope()
sys.exit(status)
sys.exit(sendResult())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment