[Crosstoolchain-logs] [device-tree-compiler] 03/03: tests: Add a test for overlays syntactic sugar
Hector Oron
zumbi at moszumanska.debian.org
Thu Sep 28 22:09:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/latest
in repository device-tree-compiler.
commit b1a60033c1108ceed56e06f1ad3286e90fa77618
Author: Pantelis Antoniou <pantelis.antoniou at konsulko.com>
Date: Wed Jun 14 17:53:06 2017 +0300
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 at konsulko.com>
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
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"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list