Browse Source

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>
main
Pantelis Antoniou 7 years ago committed by David Gibson
parent
commit
b1a60033c1
  1. 6
      tests/run_tests.sh

6
tests/run_tests.sh

@ -205,6 +205,12 @@ libfdt_overlay_tests () { @@ -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…
Cancel
Save