Skip to content

Commit

Permalink
Greentea: remove MBED_EXTENDED_TESTS macro
Browse files Browse the repository at this point in the history
MBED_EXTENDED_TESTS macro was previously required to enable certain
Greentea tests, which were disabled by default in order to save CI time.

We remove this macro because the time saved in finding bugs or issues
with a PR prior to merging is worth the increased testing time.
  • Loading branch information
hazzlim committed Sep 22, 2021
1 parent f9cdc1d commit aad68c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions events/tests/TESTS/events/equeue/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
* limitations under the License.
*/

#ifndef MBED_EXTENDED_TESTS
#error [NOT_SUPPORTED] When running on CI this test is disabled due to limiting testing time.
#else

#include "utest/utest.h"
#include "unity/unity.h"
#include "greentea-client/test_env.h"
Expand Down Expand Up @@ -1100,4 +1096,3 @@ int main()
Harness::run(specification);
}

#endif // MBED_EXTENDED_TESTS
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@

using namespace utest::v1;

#ifndef MBED_EXTENDED_TESTS
#error [NOT_SUPPORTED] Filesystem tests not supported by default
#else

static const int mem_alloc_threshold = 32 * 1024;

// Test block device
Expand Down Expand Up @@ -195,4 +191,3 @@ int main()
return !Harness::run(specification);
}

#endif // MBED_EXTENDED_TESTS
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@

using namespace utest::v1;

#ifndef MBED_EXTENDED_TESTS
#error [NOT_SUPPORTED] Filesystem tests not supported by default
#else

static constexpr int mem_alloc_threshold = 32 * 1024;
static constexpr int BLOCK_SIZE = 512;
static constexpr int BLOCK_COUNT = 512;
Expand Down Expand Up @@ -265,4 +261,3 @@ int main()
return !Harness::run(specification);
}

#endif // MBED_EXTENDED_TESTS

0 comments on commit aad68c7

Please sign in to comment.