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:
Pantelis Antoniou 2017-06-14 17:53:06 +03:00 committed by David Gibson
parent 737b2df39c
commit b1a60033c1

View file

@ -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"