dtoc: Update fdt tests to increase code coverage
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jul 2018 16:27:28 +0000 (10:27 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
commit2a2d91d0d6fbe4f5c0f336a75ff42dcf7b49a774
tree1c96cd8eda6da21219a377019c8ce7173489b0f6
parent960662404f492e7088e5a91833dfb0c19ef5450e
dtoc: Update fdt tests to increase code coverage

At present only some of the fdt functionality is tested. Add more tests to
cover the rest of it. Also turn on test coverage, which is now 100% with
a small exclusion for a Python 3 feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtoc_test_simple.dts
tools/dtoc/fdt.py
tools/dtoc/fdt_util.py
tools/dtoc/test_dtoc.py
tools/dtoc/test_fdt.py