mirror of https://github.com/ARMmbed/mbed-os.git
parent
25be6feb69
commit
e494c3c76c
|
@ -36,7 +36,6 @@ void mbed_val_test_exit(void)
|
|||
if (IS_TEST_FAIL(status) || IS_TEST_SKIP(status))
|
||||
{
|
||||
GREENTEA_TESTSUITE_RESULT(false);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -58,7 +57,6 @@ val_status_t mbed_val_execute_non_secure_tests(uint32_t test_num, client_test_t
|
|||
{
|
||||
val_status_t status = VAL_STATUS_SUCCESS;
|
||||
int32_t test_status = VAL_STATUS_SUCCESS;
|
||||
boot_t boot = {.state = BOOT_NOT_EXPECTED};
|
||||
psa_handle_t handle;
|
||||
uint32_t i = 1;
|
||||
test_info_t test_info;
|
||||
|
@ -66,8 +64,7 @@ val_status_t mbed_val_execute_non_secure_tests(uint32_t test_num, client_test_t
|
|||
bool continue_test = true;
|
||||
|
||||
test_info.test_num = test_num;
|
||||
if (boot.state == BOOT_NOT_EXPECTED || boot.state == BOOT_EXPECTED_CRYPTO)
|
||||
{
|
||||
|
||||
mbed_val_print(PRINT_TEST, "[Info] Executing tests from non-secure\n", 0);
|
||||
while (tests_list[i] != NULL)
|
||||
{
|
||||
|
@ -136,16 +133,6 @@ val_status_t mbed_val_execute_non_secure_tests(uint32_t test_num, client_test_t
|
|||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* If we are here means, we are in second run of this test */
|
||||
status = VAL_STATUS_SUCCESS;
|
||||
if (boot.state != BOOT_EXPECTED_S)
|
||||
{
|
||||
mbed_val_print(PRINT_DEBUG, "[Check1] PASSED\n", 0);
|
||||
}
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -325,6 +312,6 @@ val_status_t mbed_val_wd_reprogram_timer(wd_timeout_type_t timeout_type)
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue