abuild: in junit output, name chromeos builds different from normal ones

This will allow building and reporting both in one pass.

Change-Id: Id7dbe63c7628cb97d9cf190c151bf23c7b264a89
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/11093
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi 2015-07-31 16:30:04 +02:00
parent f43b06d0ee
commit 58474df42a
1 changed files with 3 additions and 1 deletions

View File

@ -241,7 +241,7 @@ function compile_target
etime=`perl -e 'print time();' 2>/dev/null || date +%s`
duration=$(( $etime - $stime ))
junit " <testcase classname='board' name='$VENDOR/$MAINBOARD' time='$duration' >"
junit " <testcase classname='board${testclass/#/.}' name='$VENDOR/$MAINBOARD' time='$duration' >"
if [ $ret -eq 0 ]; then
junit "<system-out>"
@ -479,6 +479,7 @@ chromeos=false
clean_work=false
customizing=""
configoptions=""
testclass=
while true ; do
case "$1" in
-J|--junit) shift; mode=junit; rm -f $XMLFILE ;;
@ -538,6 +539,7 @@ while true ; do
;;
-x|--chromeos) shift
chromeos=true
testclass=chromeos
customizing="${customizing}, chrome os"
configoptions="${configoptions}CONFIG_CHROMEOS=y\n"
;;