Skip to content

tests: settings: add a persistence test#100233

Closed
dsseng wants to merge 1 commit intozephyrproject-rtos:mainfrom
dsseng:settings-persistence-test
Closed

tests: settings: add a persistence test#100233
dsseng wants to merge 1 commit intozephyrproject-rtos:mainfrom
dsseng:settings-persistence-test

Conversation

@dsseng
Copy link
Member

@dsseng dsseng commented Nov 28, 2025

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

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>
@zephyrbot zephyrbot added area: Settings Settings subsystem area: Tests Issues related to a particular existing or missing test labels Nov 28, 2025
@zephyrbot zephyrbot requested a review from nashif November 28, 2025 20:46
#define TEST_VALUE 0xfeedda7a
ZTEST(settings_functional, test_persistence)
{
// TODO: Z_TEST_SKIP_IFNDEF(CONFIG_TEST_SETTINGS_PERSISTENCE);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale label Jan 28, 2026
@github-actions github-actions bot closed this Feb 11, 2026
@dsseng
Copy link
Member Author

dsseng commented Feb 24, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Settings Settings subsystem area: Tests Issues related to a particular existing or missing test Stale

3 participants