[PATCH v2] dtoc: add coverage test for unicode error
Simon Glass
sjg at chromium.org
Sun Aug 23 01:18:05 CEST 2020
Add an additional test to dtoc in order improve the coverage,
specifically to take into account the case of unicode error when
scanning drivers.
Signed-off-by: Walter Lozano <walter.lozano at collabora.com>
---
Changes in v2:
- Add missing files
- Extend scan_drivers to use both relative and absolute paths
tools/dtoc/dtb_platdata.py | 18 +++++++++++++++---
tools/dtoc/dtoc_test_scan_drivers.cxx | 1 +
tools/dtoc/test_dtoc.py | 26 ++++++++++++++++++++++++++
3 files changed, 42 insertions(+), 3 deletions(-)
create mode 100644 tools/dtoc/dtoc_test_scan_drivers.cxx
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list