util/abuild: Better identify config string in log
When using the --skip_set and --skip_unset arguments, the config line looked like a statement that the build was being skipped instead of abuild just printing the configuration. This updates those config statements to better show that it's the config and not stating that this particular build is being skipped. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I6cc59f9b33dcda51aeb3640d449037a0aa054e36 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76936 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
parent
431ca5eab5
commit
b94fb02178
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
#set -x # Turn echo on....
|
#set -x # Turn echo on....
|
||||||
|
|
||||||
ABUILD_DATE="Nov 1, 2023"
|
ABUILD_DATE="Nov 18, 2023"
|
||||||
ABUILD_VERSION="0.11.02"
|
ABUILD_VERSION="0.11.03"
|
||||||
|
|
||||||
TOP=$PWD
|
TOP=$PWD
|
||||||
|
|
||||||
|
@ -823,12 +823,12 @@ while true ; do
|
||||||
;;
|
;;
|
||||||
--skip_set) shift
|
--skip_set) shift
|
||||||
skipconfig_set="$1"
|
skipconfig_set="$1"
|
||||||
customizing="${customizing}, Skipping CONFIG_${skipconfig_set}=Y"
|
customizing="${customizing}, Skipping builds with CONFIG_${skipconfig_set}=Y"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--skip_unset) shift
|
--skip_unset) shift
|
||||||
skipconfig_unset="$1"
|
skipconfig_unset="$1"
|
||||||
customizing="${customizing}, Skipping CONFIG_${skipconfig_unset} not set"
|
customizing="${customizing}, Skipping builds with CONFIG_${skipconfig_unset} not set"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--asserts) shift
|
--asserts) shift
|
||||||
|
@ -934,10 +934,10 @@ if echo "${skipconfig_set}${skipconfig_unset}" | grep -q "CONFIG_" >/dev/null 2>
|
||||||
fi
|
fi
|
||||||
|
|
||||||
customizing=$(echo "$customizing" | cut -c3-)
|
customizing=$(echo "$customizing" | cut -c3-)
|
||||||
if [ "$customizing" = "" ]; then
|
if [ -z "$customizing" ]; then
|
||||||
customizing="default configuration"
|
customizing="Default configuration"
|
||||||
fi
|
fi
|
||||||
|
customizing="Config: ${customizing}"
|
||||||
FAILED_BOARDS="$(realpath ${TARGET}/failed_boards)"
|
FAILED_BOARDS="$(realpath ${TARGET}/failed_boards)"
|
||||||
PASSED_BOARDS="$(realpath ${TARGET}/passing_boards)"
|
PASSED_BOARDS="$(realpath ${TARGET}/passing_boards)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue