summaryrefslogtreecommitdiff
path: root/tests/overlay_bad_fixup_index_trailing.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-30 15:57:17 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-06 20:20:02 +1100
commitaea8860d831ed05a147a1896c15e1312a9a66917 (patch)
tree334229151178d8638206d2fd17de75a523b407db /tests/overlay_bad_fixup_index_trailing.dts
parent0cdd06c5135bd9f46853c2f58ad2ac91b0fa87f3 (diff)
downloaddevice-tree-compiler-aea8860d831ed05a147a1896c15e1312a9a66917.tar.gz
tests: Add tests cases for the overlay code
Add some test infrastructure to test that the overlay can be merged, but also that poorly formatted fixups would fail as expected. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> [dwg: Don't execute bad overlay tests without overlay aware dtc] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/overlay_bad_fixup_index_trailing.dts')
-rw-r--r--tests/overlay_bad_fixup_index_trailing.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/overlay_bad_fixup_index_trailing.dts b/tests/overlay_bad_fixup_index_trailing.dts
new file mode 100644
index 0000000..f586bef
--- /dev/null
+++ b/tests/overlay_bad_fixup_index_trailing.dts
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2016 NextThing Co
+ * Copyright (c) 2016 Free Electrons
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+/include/ "overlay_bad_fixup_base.dtsi"
+
+/ {
+ __fixups__ {
+ test = "/fragment@0:target:0a";
+ };
+};