File tree Expand file tree Collapse file tree 7 files changed +12
-2
lines changed Expand file tree Collapse file tree 7 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2121 * Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222*/
2323
24- #if INTEGRATION_TESTS
24+ #if INTEGRATION_TESTS && MBED_CONF_RTOS_PRESENT
2525
2626#include " mbed.h"
2727#include " unity/unity.h"
Original file line number Diff line number Diff line change 2020/*
2121 * Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222*/
23- #if INTEGRATION_TESTS
23+ #if INTEGRATION_TESTS && MBED_CONF_RTOS_PRESENT
2424
2525#include " mbed.h"
2626#include " unity/unity.h"
Original file line number Diff line number Diff line change 2323
2424#if !INTEGRATION_TESTS
2525#error [NOT_SUPPORTED] integration tests not enabled for this target
26+ #elif !MBED_CONF_RTOS_PRESENT
27+ #error [NOT_SUPPORTED] integration tests require RTOS
2628#else
2729
2830#include " mbed.h"
Original file line number Diff line number Diff line change 2323
2424#if !INTEGRATION_TESTS
2525#error [NOT_SUPPORTED] integration tests not enabled for this target
26+ #elif !MBED_CONF_RTOS_PRESENT
27+ #error [NOT_SUPPORTED] integration tests require RTOS
2628#else
2729
2830#include " mbed.h"
Original file line number Diff line number Diff line change 2323
2424#if !INTEGRATION_TESTS
2525#error [NOT_SUPPORTED] integration tests not enabled for this target
26+ #elif !MBED_CONF_RTOS_PRESENT
27+ #error [NOT_SUPPORTED] integration tests require RTOS
2628#else
2729
2830#include " mbed.h"
Original file line number Diff line number Diff line change 2323
2424#if !INTEGRATION_TESTS
2525#error [NOT_SUPPORTED] integration tests not enabled for this target
26+ #elif !MBED_CONF_RTOS_PRESENT
27+ #error [NOT_SUPPORTED] integration tests require RTOS
2628#else
2729
2830#include " mbed.h"
Original file line number Diff line number Diff line change 2323
2424#if !INTEGRATION_TESTS
2525#error [NOT_SUPPORTED] integration tests not enabled for this target
26+ #elif !MBED_CONF_RTOS_PRESENT
27+ #error [NOT_SUPPORTED] integration tests require RTOS
2628#else
2729
2830#include " mbed.h"
You can’t perform that action at this time.
0 commit comments