zephyr/tests
Martí Bolívar 51f55b437f twister: replace dt_compat_enabled_with_alias filter
Originally added in 7733b94224.

This filter is not well-formed. It's meant to match nodes like
/leds/led_0 in this DTS:

/ {
	aliases {
		led0 = &led0;
	};

	leds {
		compatible = "gpio-leds";
		led0: led_0 {
			gpios = <...>;
			label = "LED 0";
		};
	};
};

Uses look like this:

    filter: dt_compat_enabled_with_alias("gpio-leds", "led0")

But notice how the led_0 node doesn't have compatible "gpio-leds";
it's actually the *parent* node that has that compatible.

Replace this with a new filter, dt_enabled_alias_with_parent_compat(),
which is used like this:

    filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds")

This has a name and argument order that makes the meaning of the
filter clearer.

Replace in-tree users with the new filter.

Deprecate the old filter and warn about its use using the standard
logging module.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-10 15:09:09 -05:00
..
application_development tests: application_development: set integration_platforms 2021-03-03 18:13:19 -05:00
arch kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
benchmarks tests: footprint: fix thread start races 2021-03-08 12:09:16 -05:00
bluetooth Bluetooth: host: Initial support for BIS 2021-03-09 08:06:02 -05:00
boards qspi_testcase: modify the value used to check whether qspi is enabled 2021-03-10 14:26:00 -05:00
crypto tests: crypto: Add a unnormal testing condition 2021-03-09 05:10:54 -05:00
drivers twister: replace dt_compat_enabled_with_alias filter 2021-03-10 15:09:09 -05:00
kernel test: mem_map: Fix compilation by removing __test_mem_map_size 2021-03-10 14:55:01 -05:00
lib tests: No thread-shared/synchronized data on stack (coherence) 2021-03-08 19:25:25 -05:00
misc/test_build
net tests: samples: Add targetted platform_excludes for intel_adsp_cavs15 2021-03-08 19:25:25 -05:00
portability tests: samples: Add targetted platform_excludes for intel_adsp_cavs15 2021-03-08 19:25:25 -05:00
posix m2gl025_miv: Double the test timeouts 2021-02-09 19:41:27 -05:00
subsys tests/subsys/dfu/mcuboot: Fix coverity issue on not checked return val 2021-03-09 08:05:27 -05:00
unit lib: cbprintf: add unit tests for deferred formatting 2021-03-05 09:29:35 +01:00
ztest tests: ztest: Added return data test case 2021-03-09 07:09:13 -05:00