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
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

failed ERP5.UnitTest-Master