Skip to content

Commit b8745b8

Browse files
Michael SchwarczOren Cohen
authored andcommitted
Build PS tests only if FLASHIAP exists
1 parent 0701fb1 commit b8745b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TESTS/psa/its_ps/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,10 @@ utest::v1::status_t case_its_setup_handler(const Case *const source, const size_
178178
Case cases[] = {
179179
Case("PSA prot internal storage - Basic", case_its_setup_handler<its>, pits_ps_test<its>, case_its_teardown_handler),
180180
Case("PSA prot internal storage - Write-once", case_its_setup_handler<its>, pits_ps_write_once_test<its>, case_its_teardown_handler),
181+
#if COMPONENT_FLASHIAP
181182
Case("PSA protected storage - Basic", case_its_setup_handler<ps>, pits_ps_test<ps>),
182183
Case("PSA protected storage - Write-once", case_its_setup_handler<ps>, pits_ps_write_once_test<ps>)
184+
#endif
183185
};
184186

185187
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)

0 commit comments

Comments
 (0)