buildman: Avoid retrying a build if it definitely failed
authorSimon Glass <sjg@chromium.org>
Sun, 13 Jul 2014 20:03:41 +0000 (14:03 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 15:52:36 +0000 (09:52 -0600)
commit21fe8ec355ca34ec5a7b5f2f8dd816fa13911687
treeb76dd02f5d92b949bb38e68e4cc7b3a0a4fab005
parent4266dc28827454ede31cc931a3c76b67fafd31c2
buildman: Avoid retrying a build if it definitely failed

After a build fails buildman will reconfigure and try again, if it did not
reconfigure before the build. However it doesn't actually keep track of
whether it did reconfigure on the previous attempt.

Fix that logic to avoid a pointless rebuild. This speeds things up quite a
bit for failing builds. Previously they would always be built twice.

Change-Id: Ib37f21320baa7c60bed98f4042c0b7ed7c0dc85e
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py