Skip to content

tools: make the progress bar spacing consistent

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tools

Description of change

As it is, the tools/test.py will produce a progressbar like this

[01:00|% 100|+ 1189|-   0]: Done

but the tools/jslint.js will produce a progressbar like this

[00:04|%100|+  1639|-     0]: Done

The space between percentage completed is not consistent. This patch makes sure that both of them use four character spacing, for all the parts in the progress bar.

Merge request reports

Loading