File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
features/storage/TESTS/kvstore Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,9 @@ static void kvstore_init()
153
153
154
154
res = kvstore->init ();
155
155
TEST_ASSERT_EQUAL_ERROR_CODE (MBED_SUCCESS, res);
156
+ #if DEVICEKEY_ENABLED
157
+ DeviceKey::get_instance ().generate_root_of_trust ();
158
+ #endif
156
159
}
157
160
158
161
// deinit the blockdevice
@@ -902,9 +905,6 @@ int main()
902
905
total_num_cases++;
903
906
}
904
907
}
905
- #if DEVICEKEY_ENABLED
906
- DeviceKey::get_instance ().generate_root_of_trust ();
907
- #endif
908
908
Specification specification (greentea_test_setup, cases, total_num_cases,
909
909
greentea_test_teardown_handler, default_handler);
910
910
Original file line number Diff line number Diff line change @@ -152,6 +152,9 @@ static void kvstore_init()
152
152
153
153
res = kvstore->init ();
154
154
TEST_ASSERT_EQUAL_ERROR_CODE (MBED_SUCCESS, res);
155
+ #if DEVICEKEY_ENABLED
156
+ DeviceKey::get_instance ().generate_root_of_trust ();
157
+ #endif
155
158
}
156
159
157
160
// deinit the blockdevice
@@ -885,9 +888,6 @@ int main()
885
888
}
886
889
}
887
890
888
- #if DEVICEKEY_ENABLED
889
- DeviceKey::get_instance ().generate_root_of_trust ();
890
- #endif
891
891
Specification specification (greentea_test_setup, cases, total_num_cases,
892
892
greentea_test_teardown_handler, default_handler);
893
893
You can’t perform that action at this time.
0 commit comments