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 | |
parent | 392e9b156eeb88ab5543d286d9abe00bfa4fb56d (diff) | |
download | coreboot-staging-8bf5c15f76994bbec45fa8bd329db2ae025eea7d.zip coreboot-staging-8bf5c15f76994bbec45fa8bd329db2ae025eea7d.tar.gz |
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>
-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 2f6d497..a73fdb8 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 |