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 <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
51f55b437f
commit
963b1666f3
1 changed files with 16 additions and 0 deletions
|
@ -260,6 +260,22 @@ Documentation
|
||||||
Tests and Samples
|
Tests and Samples
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
|
* Twister's ``dt_compat_enabled_with_alias()`` test case filter was deprecated
|
||||||
|
in favor of a new ``dt_enabled_alias_with_parent_compat()`` filter. The old
|
||||||
|
filter is still supported, but it may be removed in a future release.
|
||||||
|
|
||||||
|
To update, replace uses like this:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
filter: dt_compat_enabled_with_alias("gpio-leds", "led0")
|
||||||
|
|
||||||
|
with:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds")
|
||||||
|
|
||||||
Issue Related Items
|
Issue Related Items
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue