Skip to content

fdt: Fix up tests and build warnings on newer distros

Simon Glass u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dtoc: Tidy up fdt_tests RunTestCoverage() argstools/dtoc/test_fdt.py+8 -41 reply
2/7dtoc: Tidy up fdt_tests RunTests()tools/dtoc/test_fdt.py+9 -61 reply
3/7dtoc: Fix fdt test coveragetools/dtoc/test_fdt.py+1 -11 reply
4/7dtoc: Move main program into its own functiontools/dtoc/test_fdt.py+24 -201 reply
5/7test_fdt: Convert to use argparsetools/dtoc/test_fdt.py+20 -191 reply
6/7dtoc: Correct remaining pylint problems in test_fdtscripts/pylint.base tools/dtoc/test_fdt.py+142 -1141 reply
7/7fdt: Move to setuptoolsscripts/dtc/README scripts/dtc/pylibfdt/Makefile scripts/dtc/pylibfdt/setup.py+161 -103 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] fdt: Fix up tests and build warnings on newer distros

At present the code coverage for test_fdt is not working. This series fixes that and takes the opportunity to fix the pylint warnings in that file.

Some newer Linux distributions are producing warnings about using distutils, so this series moves things over to setuptools.

Simon Glass (7):
dtoc: Tidy up fdt_tests RunTestCoverage() args
dtoc: Tidy up fdt_tests RunTests()
dtoc: Fix fdt test coverage
dtoc: Move main program into its own function
test_fdt: Convert to use argparse
dtoc: Correct remaining pylint problems in test_fdt
fdt: Move to setuptools

 scripts/dtc/README            | 106 +++++++++++
 scripts/dtc/pylibfdt/Makefile |   5 +-
 scripts/dtc/pylibfdt/setup.py |  60 ++++++-
 scripts/pylint.base           |   2 +-
 tools/dtoc/test_fdt.py        | 326 +++++++++++++++++++---------------
 5 files changed, 345 insertions(+), 154 deletions(-)
 create mode 100644 scripts/dtc/README
Signature · 1 line
2.37.1.455.g008518b4e5-goog