Report role result task has been updated to show actual result of testing, which means: ERROR upon any test execution problem, FAIL when any test fails and PASS if there is at least one test passed.
Here's a couple of example outputs. No test results:
fatal: [localhost]: FAILED! => { "msg": [ "Result: ERROR", "Test results not found.", "" ] }
Tests passed:
ok: [localhost] => { "msg": [ "Result: PASS", "" ] }
Tests failed:
ok: [localhost] => { "msg": [ "Result: FAIL", "FAIL wizard/bad", "" ] }
Test execution error:
fatal: [localhost]: FAILED! => { "msg": [ "Result: ERROR", "ERROR wizard/problem", "" ] }
Looks reasonable. Waiting for CI check.
thanks, it worked well for me.
Commit 5f7cc587 fixes this pull-request
Pull-Request has been merged by astepano
Report role result task has been updated to show actual result of
testing, which means: ERROR upon any test execution problem, FAIL
when any test fails and PASS if there is at least one test passed.