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.
6 jobs for fix/test_result_no_test_pass
in 0 seconds, using 0 compute credits, and was queued for 0 seconds