diff options
author | Simon Glass <sjg@chromium.org> | 2014-07-13 12:22:31 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-07-23 09:52:33 -0600 |
commit | 4266dc28827454ede31cc931a3c76b67fafd31c2 (patch) | |
tree | 54c3f78aaec052d99c13feef7b4820e3d83b51ab /tools/buildman/buildman.py | |
parent | 74f96dada18edd3ebd4a1c5d39edc806a17eefcc (diff) | |
download | u-boot-imx-4266dc28827454ede31cc931a3c76b67fafd31c2.zip u-boot-imx-4266dc28827454ede31cc931a3c76b67fafd31c2.tar.gz u-boot-imx-4266dc28827454ede31cc931a3c76b67fafd31c2.tar.bz2 |
buildman: Add -F flag to retry failed builds
Generally a build failure with a particular commit cannot be fixed except
by changing that commit. Changing the commit will automatically cause
buildman to retry when you run it again: buildman sees that the commit
hash is different and that it has no previous build result for the new
commit hash.
However sometimes the build failure is due to a toolchain issue or some
other environment problem. In that case, retrying failed builds may yield
a different result.
Add a flag to retry failed builds. This differs from the force rebuild
flag (-f) in that it will not rebuild commits which are already marked as
succeeded.
Series-to: u-boot
Change-Id: Iac4306df499d65ff0888b1c60f06fc162a6faad8
Diffstat (limited to 'tools/buildman/buildman.py')
-rwxr-xr-x | tools/buildman/buildman.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py index 73a5483..0da6797 100755 --- a/tools/buildman/buildman.py +++ b/tools/buildman/buildman.py @@ -72,6 +72,9 @@ parser.add_option('-e', '--show_errors', action='store_true', parser.add_option('-f', '--force-build', dest='force_build', action='store_true', default=False, help='Force build of boards even if already built') +parser.add_option('-F', '--force-build-failures', dest='force_build_failures', + action='store_true', default=False, + help='Force build of previously-failed build') parser.add_option('-d', '--detail', dest='show_detail', action='store_true', default=False, help='Show detailed information for each board in summary') |