test: timestamp messages in test scripts

The commonly used 'greenprint' function now adds a date + timestamp to
each message for debugging and tracking the duration of segments of each
scripts.
This commit is contained in:
Achilleas Koutsou 2021-10-19 16:49:02 +02:00 committed by Tom Gundersen
parent 03fe1337a5
commit aea77ed3de
16 changed files with 16 additions and 16 deletions

View file

@ -49,7 +49,7 @@ esac
# Colorful output.
function greenprint {
echo -e "\033[1;32m${1}\033[0m"
echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m"
}
function get_build_info() {