projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b5b409
)
buildman: Fix repeating board list with -l
author
Simon Glass
<sjg@chromium.org>
Thu, 16 Oct 2014 07:05:55 +0000
(
01:05
-0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 27 Nov 2014 03:25:40 +0000
(20:25 -0700)
Ensure that we don't print duplicate board names when -l is used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Albert Aribaud <albert.u.boot@aribaud.net>
tools/buildman/builder.py
patch
|
blob
|
history
diff --git
a/tools/buildman/builder.py
b/tools/buildman/builder.py
index 8155c1681eab8191ded875154a2f21c9af83d394..7002034221d12789473d33e7f62cb21cbe296be7 100644
(file)
--- a/
tools/buildman/builder.py
+++ b/
tools/buildman/builder.py
@@
-918,7
+918,8
@@
class Builder:
if self._list_error_boards:
names = []
for board in line_boards[line]:
- names.append(board.target)
+ if not board.target in names:
+ names.append(board.target)
names_str = '(%s) ' % ','.join(names)
else:
names_str = ''