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 <[email protected]>
---

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!

Reply via email to