diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-12-07 13:13:26 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-12-07 22:33:16 +0100 |
commit | 17b24d3fefa16486a0433f68bdd6c68f22b73379 (patch) | |
tree | 41316bde21c6f559a12065dc0bca89fbaf0ca86a /util | |
parent | 1b0c3526751b750e3cbfaf317e1eaf8d39fe3ba8 (diff) | |
download | coreboot-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)
Diffstat (limited to 'util')
-rwxr-xr-x | util/abuild/abuild | 5 |
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 |