mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-08 12:45:29 -05:00
libfdt: Fix sw_tree1 testcase
There is a bug in the sw_tree1 testcase / utility which puts two "compatible" properties in one node in the output tree. This patch fixes the bug, and also adds a new test checking that the sw_tree1 output is equal to test_tree1.dtb as its supposed to be, which should catch future errors of this type. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
9d3af7ab62
commit
d79d4e280f
2 changed files with 1 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ libfdt_tests () {
|
|||
run_test sw_tree1
|
||||
tree1_tests sw_tree1.test.dtb
|
||||
tree1_tests unfinished_tree1.test.dtb
|
||||
run_test dtbs_equal_ordered test_tree1.dtb sw_tree1.test.dtb
|
||||
|
||||
# fdt_move tests
|
||||
for tree in test_tree1.dtb sw_tree1.test.dtb unfinished_tree1.test.dtb; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue