[U-Boot] [PATCH V2 2/2] test/py: run all "ut" subtests

Simon Glass sjg at chromium.org
Sat Feb 6 21:29:50 CET 2016


On 2 February 2016 at 13:41, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Invoke each "ut"-based unit test as a separate pytest.
>
> Now that the DM unit test runs under test/py, remove the manual shell
> script that invokes it.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> v2:
> - Only run "ut"-based tests, not other C-based tests which haven't been
>   converted to run under "ut".
> - Rely on the build process having run objdump; don't run it from the
>   test system.
> ---
>  test/dm/test-dm.sh       |  16 --------
>  test/py/conftest.py      | 103 ++++++++++++++++++++++++++++++++++++-----------
>  test/py/tests/test_ut.py |  29 +++++++++++++
>  3 files changed, 108 insertions(+), 40 deletions(-)
>  delete mode 100755 test/dm/test-dm.sh
>  create mode 100644 test/py/tests/test_ut.py

Acked-by: Simon Glass <sjg at chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list