abuild: produce valid junit files

If no valid cross compiler is found, the junit file produced
by abuild is invalid, missing the closing </testcase> tag.
This breaks proper reporting in Jenkins of our ARM board at
this moment.

Change-Id: I94bfc7f334d33ceeb53451a7c5125058c1f33bd4
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1992
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Stefan Reinauer 2012-12-07 13:13:26 -08:00 committed by Stefan Reinauer
parent 1b0c352675
commit 17b24d3fef
1 changed files with 3 additions and 2 deletions

View File

@ -368,8 +368,9 @@ function build_target
xml ""
xml "</mainboard>"
junit " <testcase classname='board' name='$TARCH/$VENDOR/$MAINBOARD' >"
junit "<failure type='NoCrossCompiler'>No cross-compiler for $TARCH found</failure>"
junit "<testcase classname='board' name='$TARCH/$VENDOR/$MAINBOARD' >"
junit " <failure type='NoCrossCompiler'>No cross-compiler for $TARCH found</failure>"
junit "</testcase>"
return 0
else