summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-05-23 22:06:30 -0600
committerMartin Roth <martinroth@google.com>2017-05-27 16:54:23 +0200
commit16c49b5ff5f55631d1caad48b875d2c9ff304cf3 (patch)
tree02b6095ff2504f047aac982ef1d7df69c80c9f87
parent70d92b9465b1edf646b25b89f1442f7107b5f1f6 (diff)
downloadcoreboot-16c49b5ff5f55631d1caad48b875d2c9ff304cf3.tar.xz
util/abuild: Start junit testcase block on kconfig failure
This should allow Jenkins to parse the build failures when Kconfig generates an error. Change-Id: I5f9083c346ac7b6502f854b7e1f1054e81954d76 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/19861 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rwxr-xr-xutil/abuild/abuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index c3b327183d..336cd51822 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -430,6 +430,7 @@ function build_config
local VENDOR_OK=$?
if [ $BUILDENV_CREATED -ne 0 ] || [ $MAINBOARD_OK -ne 0 ] || [ $VENDOR_OK -ne 0 ]; then
+ junit " <testcase classname='board${testclass/#/.}' name='$BUILD_NAME' >"
junit "<failure type='BuildFailed'>"
junitfile "$build_dir/config.log"