zephyr/scripts/dts/python-devicetree/tests/test-bindings-init
Christophe Dufaza ee5c520326 edtlib: tests: refine coverage of Binding objects initialization
Add a series of unit tests which try to cover somewhat systematically
the possible inputs and what we finally get at the exit
of the Binding constructor.

Running the assumption that any (valid) YAML binding file is
something we can make a Binding instance with:
- check which properties are defined at which level (binding,
  child-binding, grandchild-binding, etc) and their specifications
  once the binding is initialized
- check how including bindings are permitted to specialize
  the specifications of inherited properties
- check the rules applied when overwriting a binding's description
  or compatible string (at the binding, child-binding, etc, levels)

Some tests covering known issues are disabled by default:
- this permits to document these issues
- while not causing CI errors (when running the python-devicetree
  unit tests)
- enabling these tests without causing errors should allow us
  to consider the related issues are fixed

Signed-off-by: Christophe Dufaza <chris@openmarl.org>
2025-01-08 19:17:51 +01:00
..
base.yaml edtlib: tests: refine coverage of Binding objects initialization 2025-01-08 19:17:51 +01:00
base_amend.yaml edtlib: tests: refine coverage of Binding objects initialization 2025-01-08 19:17:51 +01:00
base_inherit.yaml
base_multi.yaml
compat_desc.yaml
compat_desc_base.yaml
compat_desc_multi.yaml
diamond.yaml
filter_allows_notblocked.yaml
filter_among_allowed.yaml
filter_among_notblocked.yaml
invalid_child_propconst.yaml
invalid_child_propdefault.yaml
invalid_child_propenum.yaml
invalid_child_propreq.yaml
invalid_child_proptype.yaml
invalid_grandchild_propconst.yaml
invalid_grandchild_propdefault.yaml
invalid_grandchild_propenum.yaml
invalid_grandchild_propreq.yaml
invalid_grandchild_proptype.yaml
invalid_propconst.yaml
invalid_propdefault.yaml
invalid_propenum.yaml
invalid_propreq.yaml
invalid_proptype.yaml
simple.yaml
simple_allowlist.yaml
simple_blocklist.yaml
simple_inherit.yaml
thing.yaml
vnd,thing.yaml