diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-09-18 10:33:40 +1000 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-09-18 08:40:36 -0500 |
commit | 8d59bd3b17ba04dc9bc906742ebe74e69fb0d1ad (patch) | |
tree | ee6062e7bf6570ab73fc529b9734f07cc62b01fa /tests/trees.S | |
parent | ef90baa0c6405fe6d9400d2f091576ac0df87155 (diff) | |
download | dtc-8d59bd3b17ba04dc9bc906742ebe74e69fb0d1ad.zip dtc-8d59bd3b17ba04dc9bc906742ebe74e69fb0d1ad.tar.gz dtc-8d59bd3b17ba04dc9bc906742ebe74e69fb0d1ad.tar.bz2 |
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 'tests/trees.S')
0 files changed, 0 insertions, 0 deletions