Skip to content

Commit c437c9f

Browse files
author
Nir Sonnenschein
committed
use common flag to allow test 3 for PS and ITS
add a compilation flag to allow tests which fill up the entire device storage. storage test 003 (for both PS and its) is unsuitable for the regular CI because: 1. it takes a long time causing timeouts 2. it places a very high attrition load on the storage of the CI boards and this can cause them to fail much sooner.
1 parent 7fa275c commit c437c9f

File tree

1 file changed

+4
-3
lines changed
  • components/TARGET_PSA/TESTS/compliance_its/test_s003

1 file changed

+4
-3
lines changed

components/TARGET_PSA/TESTS/compliance_its/test_s003/main.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
#include "pal_mbed_os_intf.h"
33
#include "lifecycle.h"
44

5-
#ifdef ITS_TEST
6-
void test_entry_s003(val_api_t *val_api, psa_api_t *psa_api);
7-
#elif PS_TEST
85
#ifndef PS_ALLOW_ENTIRE_STORAGE_FILL
96
#error [NOT_SUPPORTED] Test is too long for CI, thus always fails on timeout.
107
#endif
8+
9+
#ifdef ITS_TEST
10+
void test_entry_s003(val_api_t *val_api, psa_api_t *psa_api);
11+
#elif PS_TEST
1112
void test_entry_p003(val_api_t *val_api, psa_api_t *psa_api);
1213
#endif
1314

0 commit comments

Comments
 (0)