tests: Add a test for overlays syntactic sugar
Add a single test makeing sure the &foo { }; syntax works. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
737b2df39c
commit
b1a60033c1
1 changed files with 6 additions and 0 deletions
|
@ -205,6 +205,12 @@ libfdt_overlay_tests () {
|
|||
|
||||
run_test overlay overlay_base_manual_symbols.test.dtb overlay_overlay_manual_fixups.test.dtb
|
||||
|
||||
# test simplified plugin syntax
|
||||
run_dtc_test -@ -I dts -O dtb -o overlay_overlay_simple.dtb overlay_overlay_simple.dts
|
||||
|
||||
# verify non-generation of local fixups
|
||||
run_test check_path overlay_overlay_simple.dtb not-exists "/__local_fixups__"
|
||||
|
||||
# Bad fixup tests
|
||||
for test in $BAD_FIXUP_TREES; do
|
||||
tree="overlay_bad_fixup_$test"
|
||||
|
|
Loading…
Reference in a new issue