-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Provide the relevant fw_config.yaml for the tests requiring it
A few test create dummy devices via DEVICE_DEFINE, and a few of them have actual initialization dependencies which was - before - solved through a fixed priority number for each devices. Fix this now via a dedicated fw_config.yaml in relevant tests, where the dev_id (provided to DEVICE_DEFINE) can be used to describe the inialization node and its dependencies. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@proton.me>
- Loading branch information
1 parent
350e55c
commit 29a42d2
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
init: | ||
ipm_console_send0: | ||
dependencies: | ||
- ipm_dummy0 | ||
|
||
ipm_console_recv0: | ||
dependencies: | ||
- ipm_dummy0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
init: | ||
my_driver_priority_2: | ||
dependencies: | ||
- my_driver_priority_1 | ||
|
||
my_driver_priority_3: | ||
dependencies: | ||
- my_driver_priority_2 | ||
|
||
my_driver_priority_4: | ||
dependencies: | ||
- my_driver_priority_3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
init: | ||
net_test_null_iface: | ||
dependencies: | ||
- net_init |