dtoc: Add a subnode test for multiple nodes
authorSimon Glass <sjg@chromium.org>
Sun, 21 Mar 2021 05:24:37 +0000 (18:24 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 03:26:48 +0000 (16:26 +1300)
commit76677dd2b230ffb6d83e4acb85d2e7473ab74a4f
tree936b1ad8d7ecdc49e7523a43ed4d758f67b364ff
parent71719e15e870f47ab368966394a5f2f32bf98095
dtoc: Add a subnode test for multiple nodes

Add a new test that adds a subnode alongside an existing one, as well as
adding properties to a subnode. This will expand to adding multiple
subnodes in future patches. Put a node after the one we are adding to so
we can check that things sync correctly.

The testAddNode() test should be in the TestNode class since it is a node
test, so move it.

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