From b1a60033c1108ceed56e06f1ad3286e90fa77618 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 14 Jun 2017 17:53:06 +0300 Subject: [PATCH] tests: Add a test for overlays syntactic sugar Add a single test makeing sure the &foo { }; syntax works. Signed-off-by: Pantelis Antoniou Signed-off-by: David Gibson --- tests/run_tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/run_tests.sh b/tests/run_tests.sh index ca5a86f..41a06be 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -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"