summaryrefslogtreecommitdiff
path: root/util/abuild
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-10-13 12:27:56 -0600
committerPatrick Georgi <pgeorgi@google.com>2015-10-15 12:21:19 +0000
commit21ca9beda44617e134d613274bafc512824e4a1b (patch)
tree93060f88f2738b68420f732bf6f7bf78d4960a20 /util/abuild
parentcd32da425c8e7498bb8f5f68e6655d40f7a60325 (diff)
downloadcoreboot-21ca9beda44617e134d613274bafc512824e4a1b.tar.xz
abuild: add a command line parameter for junit filename
The 'what-jenkins-does' makefile target was renaming the junit filename after abuild finished. Instead, just add a command line parameter to send it to a different filename. Change-Id: I66f7d80d621573d77a5154f36f2db49d7b2e948a Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: http://review.coreboot.org/11878 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/abuild')
-rwxr-xr-xutil/abuild/abuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 98550e15c5..51eb1c3ee6 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -16,8 +16,8 @@
#set -x # Turn echo on....
-ABUILD_DATE="May 21, 2014"
-ABUILD_VERSION="0.9.3"
+ABUILD_DATE="Oct 13, 2015"
+ABUILD_VERSION="0.9.4"
TOP=$PWD
@@ -419,6 +419,7 @@ Options:\n"
[-L|--clang] Use clang
[-x|--chromeos] Build with CHROMEOS enabled
Skip boards without Chrome OS support
+ [-X|--xmlfile <name>] set JUnit XML log file filename
[--scan-build] use clang's static analyzer
[cbroot] absolute path to coreboot sources
(defaults to $ROOT)
@@ -462,11 +463,11 @@ cmdline="$* -c 1"
getoptbrand="`getopt -V`"
if [ "${getoptbrand:0:6}" == "getopt" ]; then
# Detected GNU getopt that supports long options.
- args=`getopt -l version,verbose,quiet,help,all,target:,payloads:,test,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir:,chromeos -o Vvqhat:p:Tc:sJCl:rP:uyBLzo:x -- "$@"` || exit 1
+ args=`getopt -l version,verbose,quiet,help,all,target:,payloads:,test,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir:,chromeos,xmlfile: -o Vvqhat:p:Tc:sJCl:rP:uyBLzo:xX: -- "$@"` || exit 1
eval set -- $args
else
# Detected non-GNU getopt
- args=`getopt Vvqhat:p:Tc:sJCl:rP:uyBLzo:x $*`
+ args=`getopt Vvqhat:p:Tc:sJCl:rP:uyBLzo:xX: $*`
set -- $args
fi
@@ -544,6 +545,7 @@ while true ; do
customizing="${customizing}, chrome os"
configoptions="${configoptions}CONFIG_CHROMEOS=y\n"
;;
+ -X|--xmlfile) shift; XMLFILE=$1; REAL_XMLFILE=$1; shift;;
--) shift; break;;
-*) printf "Invalid option\n\n"; myhelp; exit 1;;
*) break;;