mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: util/abuild: Start junit testcase block on kconfig failure
This should allow Jenkins to parse the build failures when Kconfig
generates an error.
BUG=none
BRANCH=none
TEST=none
Change-Id: I59fa7e6ca98d6dd4ddd9f582cd96e27c119cdac6
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 16c49b5ff5
Original-Change-Id: I5f9083c346ac7b6502f854b7e1f1054e81954d76
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/19861
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/517934
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
parent
5801b6001c
commit
4c67835acc
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue