Reduce verbosity of coverage collection.

This commit is contained in:
Piotr Tabor
2021-01-19 20:00:40 +01:00
parent 7d444ee327
commit 88ee005a0f
7 changed files with 137 additions and 33 deletions

View File

@@ -143,7 +143,7 @@ function run {
fi
log_cmd "% ${repro}"
"${@}" 2> >(while read -r line; do echo -e "stderr: ${COLOR_MAGENTA}${line}${COLOR_NONE}" >&2; done)
"${@}" 2> >(while read -r line; do echo -e "${COLOR_NONE}stderr: ${COLOR_MAGENTA}${line}${COLOR_NONE}">&2; done)
local error_code=$?
if [ ${error_code} -ne 0 ]; then
log_error -e "FAIL: (code:${error_code}):\n % ${repro}"