Add the current component name to msg output and the final report
This commit is contained in:
parent
81b96ed603
commit
ffcdeff00a
1 changed files with 7 additions and 2 deletions
|
@ -229,12 +229,16 @@ trap 'fatal_signal TERM' TERM
|
|||
|
||||
msg()
|
||||
{
|
||||
if [ -n "${current_component:-}" ]; then
|
||||
current_section="${current_component#component_}: $1"
|
||||
else
|
||||
current_section="$1"
|
||||
fi
|
||||
echo ""
|
||||
echo "******************************************************************"
|
||||
echo "* $1 "
|
||||
echo "* $current_section "
|
||||
printf "* "; date
|
||||
echo "******************************************************************"
|
||||
current_section=$1
|
||||
}
|
||||
|
||||
armc6_build_test()
|
||||
|
@ -1238,6 +1242,7 @@ run_component () {
|
|||
if [ $ALL_EXCEPT -ne 0 ] && component_is_excluded "$1"; then
|
||||
return
|
||||
fi
|
||||
current_component="$1"
|
||||
"$@"
|
||||
cleanup
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue