forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edtlib: test filters set by including bindings
Make sure filters set by property-allowlist and property-blocklist in an including binding are recursively applied to included bindings. Signed-off-by: Christophe Dufaza <[email protected]>
- Loading branch information
1 parent
b3b5ad8
commit 33bb3b6
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
scripts/dts/python-devicetree/tests/test-bindings-include/inc-base.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
include: base.yaml |
10 changes: 10 additions & 0 deletions
10
scripts/dts/python-devicetree/tests/test-bindings-include/top-allows.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
description: Test property-allowlist filters set by including bindings | ||
|
||
compatible: "top-allowlist" | ||
|
||
include: | ||
- name: inc-base.yaml | ||
property-allowlist: | ||
- x |
10 changes: 10 additions & 0 deletions
10
scripts/dts/python-devicetree/tests/test-bindings-include/top-blocks.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
description: Test property-blocklist filters set by including bindings. | ||
|
||
compatible: "top-blocklist" | ||
|
||
include: | ||
- name: inc-base.yaml | ||
property-blocklist: | ||
- x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters