aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-22 18:24:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 19:36:36 +0200
commit8bf5c15f76994bbec45fa8bd329db2ae025eea7d (patch)
tree107ce9863cdd5ab09e09bb2c2eb5a0acd638e0b0 /util
parent392e9b156eeb88ab5543d286d9abe00bfa4fb56d (diff)
downloadcoreboot-8bf5c15f76994bbec45fa8bd329db2ae025eea7d.tar.gz
coreboot-8bf5c15f76994bbec45fa8bd329db2ae025eea7d.tar.xz
coreboot-8bf5c15f76994bbec45fa8bd329db2ae025eea7d.zip
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')
-rwxr-xr-xutil/abuild/abuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 2f6d49726..a73fdb8cc 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