summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-12-07 13:13:26 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-07 22:33:16 +0100
commit17b24d3fefa16486a0433f68bdd6c68f22b73379 (patch)
tree41316bde21c6f559a12065dc0bca89fbaf0ca86a
parent1b0c3526751b750e3cbfaf317e1eaf8d39fe3ba8 (diff)
downloadcoreboot-17b24d3fefa16486a0433f68bdd6c68f22b73379.tar.xz
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)
-rwxr-xr-xutil/abuild/abuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 9591d1346a..aefb1ead1d 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -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