[coreboot-gerrit] New patch to review for coreboot: abuild: in junit output, name chromeos builds different from normal ones
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Fri Jul 31 17:40:10 CEST 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11093
-gerrit
commit 6283c21857a57daa81418e453a781c57cef0e393
Author: Patrick Georgi <pgeorgi at google.com>
Date: Fri Jul 31 16:30:04 2015 +0200
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 at google.com>
---
util/abuild/abuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild
index e347988..f556972 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"
;;
More information about the coreboot-gerrit
mailing list