platform_external_dtc/tests
David Gibson 3c44c87bde libfdt: Rename and publish _fdt_next_tag()
Although it's a low-level function that shouldn't normally be needed,
there are circumstances where it's useful for users of libfdt to use
the _fdt_next_tag() function.  Therefore, this patch renames it to
fdt_next_tag() and publishes it in libfdt.h.

In addition, this patch adds a new testcase using fdt_next_tag(),
dtbs_equal_ordered.  This testcase tests for structural equality of
two dtbs, including the order of properties and subnodes, but ignoring
NOP tags, the order of the dtb sections and the layout of strings in
the strings block.  This will be useful for testing other dtc
functionality in the future.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-10-24 09:56:27 -05:00
..
base01.asm Add some initial test cases. 2007-02-15 11:02:44 -06:00
base01.cmd Add some initial test cases. 2007-02-15 11:02:44 -06:00
base01.dts Add some initial test cases. 2007-02-15 11:02:44 -06:00
base01.stderr Add some initial test cases. 2007-02-15 11:02:44 -06:00
del_node.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
del_property.c Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
dtbs_equal_ordered.c libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
dtc.sh dtc: Add basic testcases for dtc 2007-09-18 08:40:36 -05:00
dumptrees.c Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
empty.dts Add missing file. 2005-07-04 13:51:09 +10:00
escapes.dts dtc: Improve -Odts output 2007-10-17 07:14:38 -05:00
find_property.c Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
get_mem_rsv.c dtc: Restore missing code for testcases 2007-10-17 07:09:59 -05:00
get_name.c Appease the printf() format $Gods with a correct type. 2007-10-23 09:43:14 -05:00
get_path.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
getprop.c Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
label01.dts dtc: add a testcase with labels 2007-07-07 10:14:15 -05:00
Makefile.tests libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
move_and_save.c Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
node_check_compatible.c dtc: Restore missing code for testcases 2007-10-17 07:09:59 -05:00
node_offset_by_compatible.c libfdt: Add functions for handling the "compatible" property 2007-10-16 07:41:37 -05:00
node_offset_by_prop_value.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
nop_node.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
nop_property.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
notfound.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
open_pack.c Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
parent_offset.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
path_offset.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
root_node.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
run_tests.sh libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
rw_tree1.c libfdt: Add functions for handling the "compatible" property 2007-10-16 07:41:37 -05:00
setprop.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
setprop_inplace.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
string_escapes.c dtc: Improve -Odts output 2007-10-17 07:14:38 -05:00
subnode_offset.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
supernode_atdepth_offset.c libfdt: Make unit address optional for finding nodes 2007-10-15 08:27:24 -05:00
sw_tree1.c libfdt: Add functions for handling the "compatible" property 2007-10-16 07:41:37 -05:00
test01.asm Add some initial test cases. 2007-02-15 11:02:44 -06:00
test01.dts Add some initial test cases. 2007-02-15 11:02:44 -06:00
test01.stderr Add some initial test cases. 2007-02-15 11:02:44 -06:00
test_tree1.dts libfdt: Add functions for handling the "compatible" property 2007-10-16 07:41:37 -05:00
testdata.h dtc: Improve -Odts output 2007-10-17 07:14:38 -05:00
tests.h libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
testutils.c libfdt: Add functions to get/add/delete memory reservemap entries 2007-10-15 08:31:52 -05:00
trees.S dtc: Make helper macros in trees.S more flexible 2007-10-22 09:52:03 -05:00
truncated_property.c dtc: Optimise by default, fix warnings thus uncovered 2007-08-31 08:34:18 -05:00