diff options
author | Patrick Georgi <pgeorgi@google.com> | 2015-07-31 16:30:04 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-08-08 12:00:37 +0200 |
commit | 58474df42a2193fa3bf980e05ff2f7b092d29eae (patch) | |
tree | 6a80878062c03d6737417d0b8ebf21432ee5c853 /util | |
parent | f43b06d0eec1f7c67f46ca35122058bae50220e8 (diff) |
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>
Diffstat (limited to 'util')
-rwxr-xr-x | util/abuild/abuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild index e3479880ea..f556972366 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -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" ;; |