[U-Boot] [PATCH v5 1/5] env: add the same prefix to error messages to make it detectable by tests

Simon Glass sjg at chromium.org
Sat Jun 30 04:19:55 UTC 2018


On 29 June 2018 at 00:41, Quentin Schulz <quentin.schulz at bootlin.com> wrote:
> The error message should start with `## Error: ` so that it's easily
> detectable by tests without needing to have a complex regexp for
> matching all possible error message patterns.
>
> Let's add the `## Error: ` prefix to the error messages since it's the
> one already in use.
>
> Suggested-by: Stephen Warren <swarren at wwwdotorg.org>
> Signed-off-by: Quentin Schulz <quentin.schulz at bootlin.com>
> ---
>
> added in v5
>
>  cmd/nvedit.c | 12 ++++++++----
>  env/common.c |  3 ++-
>  2 files changed, 10 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list