Draft: framework/log: disable spamming with status update in verbose mode
Question: maybe we could make something like -l ci
instead of -l verbose
?
This MR intends to remove all carriage moves and just prints simple output readable in the (CI) logs. In Verbose mode, it prints each task run and success or failure, but it's slightly annoying to see the progress bar together with it.
Example output from Mesa3D CI before:
running: trace/gl-virgl/glmark2/desktop:windows=4:effect=blur:blur-radius=5:passes=1:separable=true-v2.trace
[00/62] |
pass: trace/gl-virgl/glmark2/desktop:windows=4:effect=blur:blur-radius=5:passes=1:separable=true-v2.trace
[01/62] pass: 1 |
running: trace/gl-virgl/glmark2/jellyfish-v2.trace
[01/62] pass: 1 /
pass: trace/gl-virgl/glmark2/jellyfish-v2.trace
[02/62] pass: 2 /
running: trace/gl-virgl/glxgears/glxgears-2-v2.trace
[02/62] pass: 2 -
pass: trace/gl-virgl/glxgears/glxgears-2-v2.trace
[03/62] pass: 3 -
running: trace/gl-virgl/gputest/furmark-v2.trace
[03/62] pass: 3 \
pass: trace/gl-virgl/gputest/furmark-v2.trace
[04/62] pass: 4 \
...
pass: trace/gl-virgl/warzone2100/warzone2100-default.trace
[62/62] pass: 62 /
[62/62] pass: 62
After:
running: trace/gl-virgl/glmark2/desktop:windows=4:effect=blur:blur-radius=5:passes=1:separable=true-v2.trace
pass: trace/gl-virgl/glmark2/desktop:windows=4:effect=blur:blur-radius=5:passes=1:separable=true-v2.trace
running: trace/gl-virgl/glmark2/jellyfish-v2.trace
pass: trace/gl-virgl/glmark2/jellyfish-v2.trace
running: trace/gl-virgl/glxgears/glxgears-2-v2.trace
pass: trace/gl-virgl/glxgears/glxgears-2-v2.trace
running: trace/gl-virgl/gputest/furmark-v2.trace
pass: trace/gl-virgl/gputest/furmark-v2.trace
...
pass: trace/gl-virgl/warzone2100/warzone2100-default.trace
[62/62] pass: 62
Signed-off-by: David Heidelberg david.heidelberg@collabora.com /cc @tomeu @gallo
Edited by David Heidelberg