[U-Boot] [PATCH v2 00/18] test: Various test refinements and improvements

Simon Glass sjg at chromium.org
Sat Sep 29 19:23:35 UTC 2018


This series includes a number of small changes designed to make tests run
more smoothly. The overall goal is that 'make check' runs cleanly without
unnecessary output and all temporary files aare cleaned up.

Changes in v2:
- Quote @$ correctly so that quoted arguments can be passed to run_test
- Add new patch to reduce the number of tests run with sandbox_flattree
- Add a patch to run binman tests concurrently

Simon Glass (17):
  sandbox: Unprotect DATA regions in bus tests
  patman: Handle unicode in _ProjectConfigParser tests
  test/py: Fix unicode handling for log filtering
  buildman: Make the toolchain test more forgiving
  binman: Reorder tests to put helper functions first
  Makefile: Add a 'check' target for make
  test: Simplify the PATH setup
  test: Print the name of each test before running it
  test: Tidy up comments and variable name
  binman: Add a default path to libfdt.py
  binman: Fix up removal of temporary directories
  binman: Separate out testSplBssPad()
  buildman: dtoc: Suppress unwanted output from test
  tools: Set an initial value for indir
  patman: Don't clear progress in tout unless it was used
  test: Reduce the number of tests run with sandbox_flattree
  binman: Run tests concurrently

Stephen Warren (1):
  test/py: ignore console read exceptions after test failure

 .travis.yml                              |   1 +
 Makefile                                 |   6 +-
 arch/sandbox/cpu/os.c                    |  11 +
 include/os.h                             |  12 +
 test/dm/bus.c                            |  12 +
 test/py/README.md                        |   1 +
 test/py/multiplexed_log.py               |   7 +-
 test/py/u_boot_console_base.py           |  12 +-
 test/run                                 |  57 +++--
 tools/binman/binman.py                   |  28 ++-
 tools/binman/cmdline.py                  |   2 +
 tools/binman/elf_test.py                 |   5 +
 tools/binman/entry_test.py               |  15 +-
 tools/binman/fdt_test.py                 |   4 +
 tools/binman/ftest.py                    | 289 ++++++++++++-----------
 tools/buildman/test.py                   |   8 +-
 tools/concurrencytest/.gitignore         |   1 +
 tools/concurrencytest/README.md          |  74 ++++++
 tools/concurrencytest/concurrencytest.py | 144 +++++++++++
 tools/dtoc/dtoc.py                       |   7 +
 tools/dtoc/test_dtoc.py                  |   6 +-
 tools/dtoc/test_fdt.py                   |  12 +-
 tools/patman/settings.py                 |  27 ++-
 tools/patman/test_util.py                |   2 +-
 tools/patman/tools.py                    |   3 +
 tools/patman/tout.py                     |   8 +-
 26 files changed, 560 insertions(+), 194 deletions(-)
 create mode 100644 tools/concurrencytest/.gitignore
 create mode 100644 tools/concurrencytest/README.md
 create mode 100644 tools/concurrencytest/concurrencytest.py

-- 
2.19.0.605.g01d371f741-goog



More information about the U-Boot mailing list