Question #694632 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694632
Status: Open => Answered
RaiMan proposed the following answer:
To set the script return code with special script situations is not a
feature of SikuliX.
Generally the value of exit(value) is returned.
If no exit() is executed, 0 is returned.
It is totally up to the user, to define and use return codes, that can
be evaluated in the outer world.
What I do not understand:
Since you are testing something, why don't you use the powerful unittest
feature of Python?
Nice reporting could be done using the bundled HTMLTestRunner.
If you stay with your basic concept, you should've a deeper look into
the docs about FindFailed handling and the options.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp