Yes, I'm fairly sure it exits with 0 because the job result was "passed". This is the excerpt of the code:
------------snip-----------------
#!/bin/bash
set -ex
...
/usr/bin/autopilot run unity.tests.test_dash.DashRevealTests.test_dash_reveal
------------snip-----------------
If autopilot would return non-zero the execution would just stop there and the job would fail (note the set -e).
Let me try to reproduce....
Yes, I'm fairly sure it exits with 0 because the job result was "passed". This is the excerpt of the code:
------- -----snip- ------- ------- -- test_dash. DashRevealTests .test_dash_ reveal -----snip- ------- ------- --
#!/bin/bash
set -ex
...
/usr/bin/autopilot run unity.tests.
-------
If autopilot would return non-zero the execution would just stop there and the job would fail (note the set -e).
Let me try to reproduce....