tests: settings: add a persistence test#100233
tests: settings: add a persistence test#100233dsseng wants to merge 1 commit intozephyrproject-rtos:mainfrom
Conversation
Validate that after some time the settings are commited to the persistent storage and are not lost on reboot. Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
|
| #define TEST_VALUE 0xfeedda7a | ||
| ZTEST(settings_functional, test_persistence) | ||
| { | ||
| // TODO: Z_TEST_SKIP_IFNDEF(CONFIG_TEST_SETTINGS_PERSISTENCE); |
There was a problem hiding this comment.
I am not sure when do we want to enable or disable this test. It requires the device to be able to programmatically reboot, as well as persist the __noinit variable this test uses to keep track of its reboots. This certainly works with QEMU for TF-M tests, but I have not tested on any physical hardware
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
|
Due to limited development time I am unlikely to finish this PR soon. So, anyone is welcome to continue moving me to a co-author position in their submission |



Validate that after some time the settings are commited to the
persistent storage and are not lost on reboot.
Signed-off-by: Dmitrii Sharshakov d3dx12.xx@gmail.com