[U-Boot] [PATCH v2 15/19] test: env: Add test framework for env

Simon Glass sjg at chromium.org
Fri May 1 05:46:32 CEST 2015


On 28 April 2015 at 23:51, Joe Hershberger <joe.hershberger at ni.com> wrote:
> Add a new "test" subcommand to the env command.
>
> This will run unit tests on the env code. This should be targetable to
> any device that supports the env features needed for the tests.
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
> Changes in v2:
> -New for version 2
>
>  Makefile                |  1 +
>  common/cmd_nvedit.c     | 10 +++++++++-
>  include/env_test.h      | 18 ++++++++++++++++++
>  test/Kconfig            |  1 +
>  test/env/Kconfig        |  8 ++++++++
>  test/env/Makefile       |  7 +++++++
>  test/env/cmd_env_test.c | 36 ++++++++++++++++++++++++++++++++++++
>  7 files changed, 80 insertions(+), 1 deletion(-)
>  create mode 100644 include/env_test.h
>  create mode 100644 test/env/Kconfig
>  create mode 100644 test/env/Makefile
>  create mode 100644 test/env/cmd_env_test.c

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


More information about the U-Boot mailing list