Skip to content

Commit 963b166

Browse files
mbolivar-nordicnashif
authored andcommitted
doc: release-notes-2.6: document deprecated twister filter
Document dt_compat_enabled_with_alias's replacement, dt_enabled_alias_with_parent_compat(). Signed-off-by: Martí Bolívar <[email protected]>
1 parent 51f55b4 commit 963b166

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/releases/release-notes-2.6.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,22 @@ Documentation
260260
Tests and Samples
261261
*****************
262262

263+
* Twister's ``dt_compat_enabled_with_alias()`` test case filter was deprecated
264+
in favor of a new ``dt_enabled_alias_with_parent_compat()`` filter. The old
265+
filter is still supported, but it may be removed in a future release.
266+
267+
To update, replace uses like this:
268+
269+
.. code-block:: yaml
270+
271+
filter: dt_compat_enabled_with_alias("gpio-leds", "led0")
272+
273+
with:
274+
275+
.. code-block:: yaml
276+
277+
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds")
278+
263279
Issue Related Items
264280
*******************
265281

0 commit comments

Comments
 (0)