Skip to content

Commit

Permalink
scripts/build-local.py: Use simpler expression for checking build result
Browse files Browse the repository at this point in the history
Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Feb 15, 2023
1 parent e3a1493 commit 4cb798b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/build-local.py
Expand Up @@ -149,11 +149,8 @@
runtime=runtime,
tree=tree,
**build)
passed = True
for info in result.status.values():
passed &= info.passed

if passed:
if all(info.passed for info in result.status.values()):
print(f"{GREEN}PASS{NORMAL}")
else:
print(
Expand Down

0 comments on commit 4cb798b

Please sign in to comment.