[U-Boot] [PATCH v2 0/7] test: Include Python tools in test coverage

Simon Glass sjg at chromium.org
Mon Nov 27 03:25:54 UTC 2017


At present there are a number of tools in U-Boot which have tests which
are not widely used:

  patman   - prepare, check and send patches
  buildman - multi-threaded multi-commit builder
  dtoc     - convert device tree file to C
  binman   - produce firmware images

In fact many tests are broken and this has not been noticed.

This series fixes up the tests and updates 'make tests' to run them. This
should help ensure that the tests stay current.

Note: This series is available at u-boot-dm/binman-working. It requires
Masahiro's pylibfdt series.

Changes in v2:
- Add new patch to correct operation when tests pass
- Adjust PYTHONPATH for new locations
- Adjust PYTHONPATH for new locations
- Drop patches already applied
- Run tests with travis-ci also
- Drop RFC tag from patch for binman code-coverage tests

Simon Glass (7):
  test: Correct operation when tests pass
  test: Run binman tests
  test: Run patman tests
  test: Run buildman tests
  test: Run dtoc tests
  travis.yml: Run tests for tools
  binman: Run code coverage tests

 .travis.yml | 15 +++++++++++++++
 test/run    | 16 +++++++++++++++-
 2 files changed, 30 insertions(+), 1 deletion(-)

-- 
2.15.0.417.g466bffb3ac-goog



More information about the U-Boot mailing list