diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-04-22 18:24:01 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-22 19:36:36 +0200 |
commit | 8bf5c15f76994bbec45fa8bd329db2ae025eea7d (patch) | |
tree | 107ce9863cdd5ab09e09bb2c2eb5a0acd638e0b0 /util/abuild | |
parent | 392e9b156eeb88ab5543d286d9abe00bfa4fb56d (diff) |
abuild: mark failed builds as failed
abuild only created compile.status for successful builds,
but sometimes it's helpful to easily identify all failed
builds of a full run:
$ grep -l failed coreboot-builds/*/compile.status
Change-Id: Ic90280fb2e8cff1f8f558a2e67ffad741beddbdf
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/9964
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/abuild')
-rwxr-xr-x | util/abuild/abuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild index 2f6d497267..a73fdb8ccb 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -254,6 +254,7 @@ function compile_target junit "<failure type='BuildFailed'>" junitfile make.log junit "</failure>" + printf "failed\n" > compile.status printf "$VENDOR/$MAINBOARD build FAILED after ${duration}s!\nLog excerpt:\n" tail -n $CONTEXT make.log 2> /dev/null || tail -$CONTEXT make.log failed=1 |