Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove #ifndef NO_GREENTEA from tests #9914

Merged
merged 1 commit into from Mar 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions TESTS/mbed-crypto/sanity/main.cpp
Expand Up @@ -438,9 +438,7 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t

utest::v1::status_t test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(120, "default_auto");
#endif
return verbose_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/mbed_hal/spm/main.cpp
Expand Up @@ -150,9 +150,7 @@ Case cases[] = {

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(20, "default_auto");
#endif
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/attestation/main.cpp
Expand Up @@ -44,9 +44,7 @@ using namespace utest::v1;

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(60, "default_auto");
#endif
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/crypto_access_control/COMPONENT_NSPE/main.cpp
Expand Up @@ -468,9 +468,7 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t

utest::v1::status_t test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(120, "default_auto");
#endif
return verbose_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/crypto_init/main.cpp
Expand Up @@ -41,9 +41,7 @@ using namespace utest::v1;

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(60, "default_auto");
#endif
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/entropy_inject/main.cpp
Expand Up @@ -92,9 +92,7 @@ void run_entropy_inject_with_crypto_init()

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(60, "default_auto");
#endif

/* fill seed in some data */
for (size_t i = 0; i < sizeof(seed); ++i) {
Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/its_ps/main.cpp
Expand Up @@ -184,9 +184,7 @@ Case cases[] = {

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(60, "default_auto");
#endif
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/spm_client/COMPONENT_NSPE/main.cpp
Expand Up @@ -475,9 +475,7 @@ Case cases[] = {
utest::v1::status_t test_setup(const size_t number_of_cases)
{
// Setup Greentea using a reasonable timeout in seconds
#ifndef NO_GREENTEA
GREENTEA_SETUP(60, "default_auto");
#endif
return verbose_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp
Expand Up @@ -213,9 +213,7 @@ utest::v1::status_t spm_setup(const size_t number_of_cases)
error("Could not open a connection with SERVER_TESTS_PART1_CONTROL ROT_SRV");
}

#ifndef NO_GREENTEA
GREENTEA_SETUP(60, "default_auto");
#endif
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
3 changes: 0 additions & 3 deletions TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp
Expand Up @@ -74,10 +74,7 @@ void example_main(void)

utest::v1::status_t greentea_setup(const size_t number_of_cases)
{
#ifndef NO_GREENTEA
GREENTEA_SETUP(20, "default_auto");
#endif
// Call the default reporting function
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
2 changes: 0 additions & 2 deletions features/frameworks/TARGET_PSA/val_greentea.cpp
Expand Up @@ -20,9 +20,7 @@ void mbed_val_test_init(uint32_t test_num, char8_t *desc, uint32_t test_bitfield

mbed_val_print(PRINT_ALWAYS, "\nTEST: %d | DESCRIPTION: ", test_num);
mbed_val_print(PRINT_ALWAYS, desc, 0);
#ifndef NO_GREENTEA
GREENTEA_SETUP(100, "default_auto");
#endif
mbed_val_set_status(RESULT_START(VAL_STATUS_SUCCESS));
pal_mbed_os_compliance_test_initialize();
return;
Expand Down