On 15 January 2016 at 11:15, Stephen Warren <[email protected]> wrote:
> From: Stephen Warren <[email protected]>
>
> Migrate all most tests from command_ut.c into the Python test system.
> This allows the tests to be run against any U-Boot binary that supports
> the if command (i.e. where hush is enabled) without requiring that
> binary to be permanently bloated with the code from command_ut.
>
> Some tests in command_ut.c can only be executed from C code, since they
> test internal (more unit-level) features of various U-Boot APIs. The
> migrated tests can all operate directly from the U-Boot console.
>
> Signed-off-by: Stephen Warren <[email protected]>
> Acked-by: Simon Glass <[email protected]>
> ---
> v4:
> - No changes.
>
> v3:
> - Move test scripts into a sub-directory.
>   Suggested by Michal Simek.
> - s/uboot/u[-_]boot/g. Suggested by Simon Glass.
> - s/"/'/g. Suggested by Simon Glass.
> - Add more documentation. Suggested by Simon Glass.
> - Remove inclusion of <os.h>. Suggested by Simon Glass.
> ---
>  test/command_ut.c                  | 116 ----------------------------
>  test/py/tests/test_hush_if_test.py | 154 
> +++++++++++++++++++++++++++++++++++++
>  2 files changed, 154 insertions(+), 116 deletions(-)
>  create mode 100644 test/py/tests/test_hush_if_test.py

Applied to u-boot-dm, thanks!
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to