test_result: don't set status "PASS" when build fail

When installing the tested software failed, no test result lines
have been created, this should have status FAILED.
2 jobs for fix/getParent
in 0 seconds, using 0 compute credits, and was queued for 0 seconds