A sikuli script's exit code doesn't correspond with script success

Bug #597853 reported by Will P
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Undecided
Unassigned

Bug Description

I am running sikuli scripts from the command line: "Sikuli-IDE.app/sikuli-script.sh -r my-script.sikuli". If a Sikuli script exits with a non-zero exit code (e.g., the test fails or raises an exception), the script prints out, "[sikuli] Exited with code 1", but then actually returns 0.

You can check the return value by calling "echo $?" right after executing the script.

I have a workaround, so this is only a minor annoyance for me currently. It makes it a little more difficult to test whether a script has succeeded, if the script is being called by other tools.

Using Sikuli 0.10.1 (downloaded 5/23/2010) on Mac 10.5.8

Will P (wphan)
description: updated
description: updated
description: updated
Changed in sikuli:
status: New → Fix Committed
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.