dtoc: Add a unit test for BytesToValue()
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:41 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitb5f0dafd4b66f8fde3c968ec20186bc8465558b8
tree2817c50d81371eb55b37976b84ba45f72b312f98
parente66d318fef611241749d37b6b73ff80c84a8c866
dtoc: Add a unit test for BytesToValue()

Add a simple unit test for one of the cases of this function, so that any
fault can be seen directly, rather than appearing through the failure of
another test.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/test_fdt.py