Skip to content

Commit 5fe241b

Browse files
authored
Wrapped test around MBED_CONF_RTOS_PRESENT
Wrapping a #define to prevent test from being run when no RTOS is present.
1 parent 6fa5609 commit 5fe241b

File tree

1 file changed

+5
-0
lines changed
  • TESTS/mbed_platform/error_handling

1 file changed

+5
-0
lines changed

TESTS/mbed_platform/error_handling/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
17+
#if MBED_CONF_RTOS_PRESENT
18+
1619
#include "greentea-client/test_env.h"
1720
#include "utest/utest.h"
1821
#include "unity/unity.h"
@@ -363,3 +366,5 @@ int main()
363366
{
364367
return !utest::v1::Harness::run(specification);
365368
}
369+
370+
#endif //MBED_CONF_RTOS_PRESENT

0 commit comments

Comments
 (0)