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

Simon Glass sjg at chromium.org
Sun Jul 31 04:57:04 CEST 2022


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

-- 
2.37.1.455.g008518b4e5-goog



More information about the U-Boot mailing list