zephyr/scripts/dts/python-devicetree/tests
Luca Burelli 0a4e2e383f scripts: dts: dtlib: improve formatting of long arrays
Split long arrays into multiple lines to improve readability of the
output DTS file. A new line is started when the array data exceeds
80 characters.

Add a few test entries to verify the new behavior.

Note: the F821 linter suppression prevents flagging 'array_start' and
'array_newline' as undefined variables. This is because these variables
are initialized when an opening brace is output, which is necessarily
before any element in a byte or prop array. A sequence of markers not
following this pattern would indicate a bug in the DTS parsing code.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-06-05 15:18:40 -05:00
..
test-bindings edtlib: binding: Add a title keyword 2025-04-02 12:54:24 +02: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 scripts: fix spelling of "below" 2025-02-19 18:51:13 +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 scripts: dts: dtlib: improve formatting of long arrays 2025-06-05 15:18:40 -05:00
test_edtlib.py edtlib: binding: Add a title keyword 2025-04-02 12:54:24 +02:00
test_edtlib_binding_init.py edtlib: tests: refine coverage of Binding objects initialization 2025-01-08 19:17:51 +01:00