abuild: don't create junit tests with empty testclass field

Variable expansion made abuild create board..foo/bar, which are annoying
on jenkins' web UI because it doesn't cope properly with the empty
namespace between the dots. make it create board.foo/bar or
board.$class.foo/bar.

Change-Id: Ifa79cbfd1f263e11a458b3cc320baeed6a3fbc98
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/11640
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Patrick Georgi 2015-09-15 16:57:04 +02:00 committed by Patrick Georgi
parent 9763d8e9d1
commit 098c4a8096
1 changed files with 2 additions and 1 deletions

View File

@ -479,7 +479,8 @@ chromeos=false
clean_work=false
customizing=""
configoptions=""
testclass=
# testclass needs to be undefined if not used for variable expansion to work
unset testclass
while true ; do
case "$1" in
-J|--junit) shift; mode=junit; rm -f $XMLFILE ;;