Skip to content

Commit 0b4f16f

Browse files
author
Michael Schwarcz
committed
Disable SPM tests with TF-M issues for TF-M targets
1 parent f236125 commit 0b4f16f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

TESTS/psa/spm_client/COMPONENT_NSPE/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,14 +460,16 @@ Case cases[] = {
460460
Case("Testing client tx_buff_null", tx_buff_null),
461461
Case("Testing client rx_tx_null", rx_tx_null),
462462
Case("Testing client multiple_call from a single thread", multiple_call),
463-
Case("Testing client exceed num of max channels allowed", exceed_num_of_max_channels),
464463
Case("Testing client close on NULL handle", client_close_null_handle),
465464
Case("Testing DROP_CONNECTION State", drop_connection),
466465
Case("Testing client psa_framework_version() API", verify_psa_framework_version),
467466
Case("Testing client psa_version() API on existing SID", psa_version_existing),
468467
Case("Testing client psa_version() API on non-existing SID", psa_version_non_existing),
469468
Case("Testing client psa_version() API to a service that is not NSPE callable", psa_version_secure_access_only),
470469
Case("Testing client multiple calls on different channels to the same SID", multi_thread_diff_handles),
470+
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T244
471+
Case("Testing client exceed num of max channels allowed", exceed_num_of_max_channels),
472+
#endif
471473
};
472474

473475
utest::v1::status_t test_setup(const size_t number_of_cases)

TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ Case cases[] = {
264264
SPM_UTEST_CASE("Try to skip more bytes than left while reading", skip_more_than_left),
265265
SPM_UTEST_CASE("Test rhandle implementation by calculating the factorial function", rhandle_factorial),
266266
SPM_UTEST_CASE("Test a call flow between 2 secure partitions", cross_partition_call),
267+
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
267268
SPM_UTEST_CASE("Test a common DOORBELL scenario", doorbell_test),
269+
#endif
268270
};
269271

270272
//Declare your test specification with a custom setup handler

TESTS/psa/spm_server/COMPONENT_SPE/tests.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,8 @@ psa_test_server_side_func test_list[] = {
698698
PSA_TEST_SERVER_NAME(skip_more_than_left),
699699
PSA_TEST_SERVER_NAME(rhandle_factorial),
700700
PSA_TEST_SERVER_NAME(cross_partition_call),
701+
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
701702
PSA_TEST_SERVER_NAME(doorbell_test),
703+
#endif
702704
NULL
703705
};

0 commit comments

Comments
 (0)