Skip to content

Commit fc97a75

Browse files
author
Oren Cohen
committed
Remove #ifndef NO_GREENTEA from tests
1 parent 943254c commit fc97a75

File tree

11 files changed

+0
-23
lines changed

11 files changed

+0
-23
lines changed

TESTS/mbed-crypto/sanity/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,9 +438,7 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t
438438

439439
utest::v1::status_t test_setup(const size_t number_of_cases)
440440
{
441-
#ifndef NO_GREENTEA
442441
GREENTEA_SETUP(120, "default_auto");
443-
#endif
444442
return verbose_test_setup_handler(number_of_cases);
445443
}
446444

TESTS/mbed_hal/spm/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,7 @@ Case cases[] = {
150150

151151
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
152152
{
153-
#ifndef NO_GREENTEA
154153
GREENTEA_SETUP(20, "default_auto");
155-
#endif
156154
return greentea_test_setup_handler(number_of_cases);
157155
}
158156

TESTS/psa/attestation/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ using namespace utest::v1;
4444

4545
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
4646
{
47-
#ifndef NO_GREENTEA
4847
GREENTEA_SETUP(60, "default_auto");
49-
#endif
5048
return greentea_test_setup_handler(number_of_cases);
5149
}
5250

TESTS/psa/crypto_access_control/COMPONENT_NSPE/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,7 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t
468468

469469
utest::v1::status_t test_setup(const size_t number_of_cases)
470470
{
471-
#ifndef NO_GREENTEA
472471
GREENTEA_SETUP(120, "default_auto");
473-
#endif
474472
return verbose_test_setup_handler(number_of_cases);
475473
}
476474

TESTS/psa/crypto_init/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ using namespace utest::v1;
4141

4242
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
4343
{
44-
#ifndef NO_GREENTEA
4544
GREENTEA_SETUP(60, "default_auto");
46-
#endif
4745
return greentea_test_setup_handler(number_of_cases);
4846
}
4947

TESTS/psa/entropy_inject/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ void run_entropy_inject_with_crypto_init()
9292

9393
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
9494
{
95-
#ifndef NO_GREENTEA
9695
GREENTEA_SETUP(60, "default_auto");
97-
#endif
9896

9997
/* fill seed in some data */
10098
for (size_t i = 0; i < sizeof(seed); ++i) {

TESTS/psa/its_ps/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,7 @@ Case cases[] = {
184184

185185
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
186186
{
187-
#ifndef NO_GREENTEA
188187
GREENTEA_SETUP(60, "default_auto");
189-
#endif
190188
return greentea_test_setup_handler(number_of_cases);
191189
}
192190

TESTS/psa/spm_client/COMPONENT_NSPE/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,7 @@ Case cases[] = {
475475
utest::v1::status_t test_setup(const size_t number_of_cases)
476476
{
477477
// Setup Greentea using a reasonable timeout in seconds
478-
#ifndef NO_GREENTEA
479478
GREENTEA_SETUP(60, "default_auto");
480-
#endif
481479
return verbose_test_setup_handler(number_of_cases);
482480
}
483481

TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,7 @@ utest::v1::status_t spm_setup(const size_t number_of_cases)
213213
error("Could not open a connection with SERVER_TESTS_PART1_CONTROL ROT_SRV");
214214
}
215215

216-
#ifndef NO_GREENTEA
217216
GREENTEA_SETUP(60, "default_auto");
218-
#endif
219217
return greentea_test_setup_handler(number_of_cases);
220218
}
221219

TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ void example_main(void)
7474

7575
utest::v1::status_t greentea_setup(const size_t number_of_cases)
7676
{
77-
#ifndef NO_GREENTEA
7877
GREENTEA_SETUP(20, "default_auto");
79-
#endif
80-
// Call the default reporting function
8178
return greentea_test_setup_handler(number_of_cases);
8279
}
8380

features/frameworks/TARGET_PSA/val_greentea.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ void mbed_val_test_init(uint32_t test_num, char8_t *desc, uint32_t test_bitfield
2020

2121
mbed_val_print(PRINT_ALWAYS, "\nTEST: %d | DESCRIPTION: ", test_num);
2222
mbed_val_print(PRINT_ALWAYS, desc, 0);
23-
#ifndef NO_GREENTEA
2423
GREENTEA_SETUP(100, "default_auto");
25-
#endif
2624
mbed_val_set_status(RESULT_START(VAL_STATUS_SUCCESS));
2725
pal_mbed_os_compliance_test_initialize();
2826
return;

0 commit comments

Comments
 (0)