summaryrefslogtreecommitdiff
path: root/treesource.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-09-18 10:33:40 +1000
committerJon Loeliger <jdl@freescale.com>2007-09-18 08:40:36 -0500
commit8d59bd3b17ba04dc9bc906742ebe74e69fb0d1ad (patch)
treeee6062e7bf6570ab73fc529b9734f07cc62b01fa /treesource.c
parentef90baa0c6405fe6d9400d2f091576ac0df87155 (diff)
downloaddevice-tree-compiler-8d59bd3b17ba04dc9bc906742ebe74e69fb0d1ad.tar.gz
dtc: Add basic testcases for dtc
This patch adds a handful of simple testcases for dtc. It adds a dts file which should generate the same sample tree as is used for the libfdt testcases, and tests invoking dtc on this dts, plus the standard batch of libfdt cases on the resulting dtb, which effectively checks that the dtb is correct. Because the test framework assumes each testcase is an executable with the right output conventions, we use a little shell script, dtc.sh, as a wrapper around dtc itself. It simply invokes dtc and returns a PASS or FAIL depending on whether dtc returned an error. It's not much, but it's a start. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'treesource.c')
0 files changed, 0 insertions, 0 deletions