From e3817d0ffc62c119fe03f84f1c819ce6ca4f2dc2 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Thu, 5 Dec 2024 09:52:34 +0100 Subject: [PATCH] test: misc|shell: disable "zephyr,entropy" chosen property When "zephyr,entropy" is enabled the corresponding entropy driver is pulled in the build and initialized during boot. This - changes the initialization sequence expected by "check_init_priorities"; - add one extra device to the expected list in "shell_device_filter". Therefore this commit removes the "zephyr,entropy" propery to return the test to the original state. Signed-off-by: Valerio Setti --- .../misc/check_init_priorities/boards/native_sim.overlay | 4 ++++ tests/subsys/shell/shell_device_filter/app.overlay | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/subsys/shell/shell_device_filter/app.overlay diff --git a/tests/misc/check_init_priorities/boards/native_sim.overlay b/tests/misc/check_init_priorities/boards/native_sim.overlay index 0f32c8121a8..a2206bb723b 100644 --- a/tests/misc/check_init_priorities/boards/native_sim.overlay +++ b/tests/misc/check_init_priorities/boards/native_sim.overlay @@ -35,4 +35,8 @@ supply-gpios = <&test_gpio_0 2 0>; }; }; + + chosen { + /delete-property/ zephyr,entropy; + }; }; diff --git a/tests/subsys/shell/shell_device_filter/app.overlay b/tests/subsys/shell/shell_device_filter/app.overlay new file mode 100644 index 00000000000..fd5644bcacd --- /dev/null +++ b/tests/subsys/shell/shell_device_filter/app.overlay @@ -0,0 +1,8 @@ +/ { + chosen { + /* Remove extra unneed devices that cause the "test_unfiltered" + * test to fail. + */ + /delete-property/ zephyr,entropy; + }; +};