mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 04:55:12 +00:00
Add the current component name to msg output and the final report
This commit is contained in:
parent
6e9842315a
commit
11ddca6b74
|
@ -223,12 +223,16 @@ trap 'fatal_signal TERM' TERM
|
||||||
|
|
||||||
msg()
|
msg()
|
||||||
{
|
{
|
||||||
|
if [ -n "${current_component:-}" ]; then
|
||||||
|
current_section="${current_component#component_}: $1"
|
||||||
|
else
|
||||||
|
current_section="$1"
|
||||||
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "******************************************************************"
|
echo "******************************************************************"
|
||||||
echo "* $1 "
|
echo "* $current_section "
|
||||||
printf "* "; date
|
printf "* "; date
|
||||||
echo "******************************************************************"
|
echo "******************************************************************"
|
||||||
current_section=$1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
armc6_build_test()
|
armc6_build_test()
|
||||||
|
@ -1017,6 +1021,7 @@ post_report () {
|
||||||
|
|
||||||
# Run one component and clean up afterwards.
|
# Run one component and clean up afterwards.
|
||||||
run_component () {
|
run_component () {
|
||||||
|
current_component="$1"
|
||||||
"$@"
|
"$@"
|
||||||
cleanup
|
cleanup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue