[U-Boot] [PATCH 11/11] dtoc: Add tests

sjg at google.com sjg at google.com
Thu Jul 6 14:51:40 UTC 2017


Add some tests of dtoc's functionality to make it easier to expand and
enhance the tool.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/dtoc.py               |  31 ++++-
 tools/dtoc/dtoc_test.dts         |  12 ++
 tools/dtoc/dtoc_test_aliases.dts |  18 +++
 tools/dtoc/dtoc_test_empty.dts   |  12 ++
 tools/dtoc/dtoc_test_phandle.dts |  23 ++++
 tools/dtoc/dtoc_test_simple.dts  |  48 +++++++
 tools/dtoc/test_dtoc.py          | 271 +++++++++++++++++++++++++++++++++++++++
 7 files changed, 411 insertions(+), 4 deletions(-)
 create mode 100644 tools/dtoc/dtoc_test.dts
 create mode 100644 tools/dtoc/dtoc_test_aliases.dts
 create mode 100644 tools/dtoc/dtoc_test_empty.dts
 create mode 100644 tools/dtoc/dtoc_test_phandle.dts
 create mode 100644 tools/dtoc/dtoc_test_simple.dts
 create mode 100644 tools/dtoc/test_dtoc.py

Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list