[coreboot-gerrit] Change in coreboot[master]: util/abuild: Start junit testcase block on kconfig failure

Martin Roth (Code Review) gerrit at coreboot.org
Sat May 27 16:54:27 CEST 2017


Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/19861 )

Change subject: util/abuild: Start junit testcase block on kconfig failure
......................................................................


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 at google.com>
Reviewed-on: https://review.coreboot.org/19861
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
---
M util/abuild/abuild
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Patrick Georgi: Looks good to me, approved



diff --git a/util/abuild/abuild b/util/abuild/abuild
index c3b3271..336cd51 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -430,6 +430,7 @@
 	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"

-- 
To view, visit https://review.coreboot.org/19861
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f9083c346ac7b6502f854b7e1f1054e81954d76
Gerrit-PatchSet: 4
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>



More information about the coreboot-gerrit mailing list