mirror of https://github.com/ARMmbed/mbed-os.git
Test partition modification
parent
bd9a738473
commit
a1bd657594
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
extern psa_test_server_side_func test_list[];
|
||||
static size_t num_of_tests = 0;
|
||||
static psa_msg_t msg = {0};
|
||||
static void init_num_of_tests()
|
||||
{
|
||||
size_t i = 0;
|
||||
|
|
@ -37,11 +36,13 @@ static void init_num_of_tests()
|
|||
void server_part1_main(void *ptr)
|
||||
{
|
||||
psa_signal_t signals = 0;
|
||||
psa_msg_t msg = {0};
|
||||
psa_status_t test_status = PSA_SUCCESS; // status of the api calls during the test
|
||||
psa_status_t test_result = PSA_SUCCESS; // result of the critical section of the test
|
||||
test_action_t action;
|
||||
uint32_t test_idx = 0;
|
||||
|
||||
|
||||
init_num_of_tests();
|
||||
while (1) {
|
||||
signals = psa_wait(CONTROL_MSK, PSA_BLOCK);
|
||||
|
|
|
|||
|
|
@ -31,13 +31,12 @@
|
|||
}
|
||||
#endif
|
||||
|
||||
static psa_msg_t msg = {0};
|
||||
|
||||
void server_part2_main(void *ptr)
|
||||
{
|
||||
psa_signal_t signals = 0;
|
||||
size_t len = 0;
|
||||
char *str = NULL;
|
||||
psa_msg_t msg = {0};
|
||||
|
||||
while (1) {
|
||||
signals = psa_wait(SERVER_TESTS_PART2_WAIT_ANY_SID_MSK, PSA_BLOCK);
|
||||
|
|
|
|||
Loading…
Reference in New Issue