u-boot/tools/dtoc
Alper Nebi Yasak d8318feba1 patman: test_util: Use unittest text runner to print test results
The python tools' test utilities handle printing test results, but the
output is quite bare compared to an ordinary unittest run. Delegate
printing the results to a unittest text runner, which gives us niceties
like clear separation between each test's result and how long it took to
run the test suite.

Unfortunately it does not print info for skipped tests by default, but
this can be handled later by a custom test result subclass. It also does
not print the tool name; manually print a heading that includes the
toolname so that the outputs of each tool's tests are distinguishable in
the CI output.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-06-28 03:09:51 +01:00
..
test dtoc: Make GetArgs() more flexible 2022-03-18 19:24:24 -06:00
__init__.py tools: Add init files for Python tools 2022-01-24 16:03:27 -05:00
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Fix up a code comment that confuses pylint 2022-01-24 16:03:27 -05:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
fdt_util.py dtoc: Tidy up implementation of AddStringList() 2022-03-18 19:24:25 -06:00
fdt.py dtoc: Tidy up implementation of AddStringList() 2022-03-18 19:24:25 -06:00
main.py patman: test_util: Use unittest text runner to print test results 2022-06-28 03:09:51 +01:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Detect drivers which do not parse correctly 2021-07-21 10:27:34 -06:00
test_dtoc.py dtoc: Correct pylint errors 2022-03-02 10:28:12 -05:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py patman: test_util: Use unittest text runner to print test results 2022-06-28 03:09:51 +01:00
test_src_scan.py dtoc: Update test_src_scan.py for new tegra compatibles 2022-06-14 13:59:23 -04:00