zephyr/scripts/dts/python-devicetree/tests
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
..
test-bindings Devicetree: Devicetree Bindings: Adjust python tests 2024-10-15 04:11:36 -04:00
test-bindings-2
test-bindings-include edtlib: tests: cover basics of filtering inherited properties 2024-11-06 14:43:19 -06:00
test-bindings-init edtlib: tests: refine coverage of Binding objects initialization 2025-01-08 19:17:51 +01:00
test-wrong-bindings yamllint: indentation: fix files in scripts/ 2023-01-04 14:23:53 +01:00
test-multidir.dts devicetree: use c89 comments in test file 2023-04-17 08:58:14 -07:00
test.dts Devicetree: Devicetree Bindings: Adjust python tests 2024-10-15 04:11:36 -04:00
test_dtlib.py everywhere: replace double words 2024-06-25 06:05:35 -04:00
test_edtlib.py edtlib: tests: cover basics of filtering inherited properties 2024-11-06 14:43:19 -06:00
test_edtlib_binding_init.py edtlib: tests: refine coverage of Binding objects initialization 2025-01-08 19:17:51 +01:00