run: add timestamps before each log message

Also time every run by default.
This commit is contained in:
Ciro Santilli
2018-07-19 08:06:03 +01:00
parent a51526c600
commit e376e25ca2
4 changed files with 6 additions and 3 deletions

4
run
View File

@@ -363,7 +363,7 @@ if "$tmux"; then
eval "./tmu ./rungdb -a '${arch} -L ${common_linux_variant}' -n ${common_run_id} ${tmux_args}"
fi
fi
cmd="${cmd} \\
|& tee ${common_termout_file} \
cmd="time ${cmd} \\
|& tee >(ts -s %.s > ${common_termout_file}) \
"
"${root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"