Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69520 )
Change subject: util/abuild: check for PASSED_BOARDS before trying to show it ......................................................................
util/abuild: check for PASSED_BOARDS before trying to show it
If no boards are tested by abuild, an error is currently shown because no boards failed, but no boards passed either. Account for this possibility.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I097d3c728ca1acc652d5a1b7b49e57d01b0e513b --- M util/abuild/abuild 1 file changed, 17 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/69520/1
diff --git a/util/abuild/abuild b/util/abuild/abuild index 43dd833..3326a21 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -945,8 +945,10 @@ if [ "$exitcode" != "0" ]; then failed=1 fi - else + elif [ -f "$PASSED_BOARDS" ]; then printf "All %s tested configurations passed.\n" "$( wc -l < "$PASSED_BOARDS" )" + else + printf "No boards tested.\n" fi fi