From 098c4a80962437c6d23dc3fde894a1c3a7bf0ca0 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 15 Sep 2015 16:57:04 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/11640 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- util/abuild/abuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/abuild/abuild b/util/abuild/abuild index 9516da51d5..788ed7d0db 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -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 ;; -- cgit v1.2.3