Skip to content
Snippets Groups Projects
Select Git revision
0 results

builderthread.py

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      fb3954f9
      buildman: Correct counting of build failures on retry · fb3954f9
      Simon Glass authored
      
      When a build is to be performed, buildman checks to see if it has already
      been done. In most cases it will not bother trying again. However, it was
      not reading the return code from the 'done' file, so if the result was a
      failure, it would not be counted. This depresses the 'failure' count stats
      that buildman prints in this case.
      
      Fix this bug by always reading the return code.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      fb3954f9
      History
      buildman: Correct counting of build failures on retry
      Simon Glass authored
      
      When a build is to be performed, buildman checks to see if it has already
      been done. In most cases it will not bother trying again. However, it was
      not reading the return code from the 'done' file, so if the result was a
      failure, it would not be counted. This depresses the 'failure' count stats
      that buildman prints in this case.
      
      Fix this bug by always reading the return code.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>