Comment #1 on issue 229 by pekka.klarck: Possibility to avoid sys.exit
http://code.google.com/p/robotframework/issues/detail?id=229
How do you start the test execution? Could you use robot.run method [1],
which
doesn't use sys.exit, directly? Unfortunately this API is not too well
documented,
may change in the future and is somewhat buggy.
When tests are run from the command line we use sys.exit to set the return
code [3].
At least I don't know any other way to do that.
[1]
http://robotframework.googlecode.com/svn/tags/robotframework-2.0.4/doc/userguide/RobotFrameworkUserGuide.html#test-execution
[2] http://code.google.com/p/robotframework/issues/detail?id=59
[3]
http://robotframework.googlecode.com/svn/tags/robotframework-2.0.4/doc/userguide/RobotFrameworkUserGuide.html#return-codes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings