On 5 February 2016 at 18:04, Stephen Warren <swar...@wwwdotorg.org> wrote: > From: Stephen Warren <swar...@nvidia.com> > > The existing regex simply ensures that the captured version string doesn't > go past the end of a line. We really want to grab as much as possible. Do > this by explicitly including a ) character at the end of the regex to > match the last character of the version test. > > Signed-off-by: Stephen Warren <swar...@nvidia.com> > --- > v2: Also remove some now-redundant code. The signon regex now never > matches the text ", Build: ...", so there's no need for explicit code to > chop it out. > --- > test/py/u_boot_console_base.py | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-)
Acked-by: Simon Glass <s...@chromium.org> Tested on sandbox: Tested-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot