Browse Source
This commit adds test cases for commits "Correct overlay syntactic sugar for generating target-path fragments" and "Merge nodes with local target label references". It verifies that target path references are not resolved locally and that target label references that can be resolved locally are. Signed-off-by: Fredrik Markstrom <fredrik.markstrom@gmail.com> [dwg: Fixed some whitespace problems] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
Fredrik Markstrom
6 years ago
committed by
David Gibson
2 changed files with 34 additions and 0 deletions
@ -0,0 +1,29 @@ |
|||||||
|
/* |
||||||
|
* Copyright (c) 2016 NextThing Co |
||||||
|
* Copyright (c) 2016 Free Electrons |
||||||
|
* Copyright (c) 2016 Konsulko Inc. |
||||||
|
* |
||||||
|
* SPDX-License-Identifier: GPL-2.0+ |
||||||
|
*/ |
||||||
|
|
||||||
|
/dts-v1/; |
||||||
|
/plugin/; |
||||||
|
|
||||||
|
&test { |
||||||
|
parent: new-node { |
||||||
|
parent-property; |
||||||
|
}; |
||||||
|
}; |
||||||
|
|
||||||
|
&parent { |
||||||
|
new-merged-property; |
||||||
|
new-merged-node { |
||||||
|
new-property; |
||||||
|
}; |
||||||
|
}; |
||||||
|
|
||||||
|
&{/} { |
||||||
|
new-root-node { |
||||||
|
new-root-node-property; |
||||||
|
}; |
||||||
|
}; |
Loading…
Reference in new issue