diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-09-10 12:59:53 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-09-10 14:20:51 +1000 |
commit | fd06c54d4711f20d16bb1e18cba4d7bed09e5ad2 (patch) | |
tree | ad9d54bf38ef14b675277cfcd81b13fb9a6a198b /Makefile | |
parent | c3f50c9a86d91758d9ca3885adcad0622eac66aa (diff) | |
download | dtc-fd06c54d4711f20d16bb1e18cba4d7bed09e5ad2.zip dtc-fd06c54d4711f20d16bb1e18cba4d7bed09e5ad2.tar.gz dtc-fd06c54d4711f20d16bb1e18cba4d7bed09e5ad2.tar.bz2 |
tests: Better testing of dtc -I fs mode
Greg Kurz added a trivial test of the -I fs mode recently, which was
previously basically untested. This is an oversight, since we
recently had a bug which completely broke it.
This replaces Greg's test with a more thorough test of -I fs mode. We
use a test helper to create the familiar test_tree1 in "fs" form, then use
dtc -I fs to process it, and check that the results match what they
should.
We only check the content in -I fs -O dtb mode, since that's simplest,
but we do run -I fs -O dts mode as well to make sure it doesn't blow
up (the aforementioned bug caused just such a blow up, specific to -O
dts mode, for example).
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions