mirror of https://github.com/ARMmbed/mbed-os.git
Wrapped test around MBED_CONF_RTOS_PRESENT
Wrapping a #define to prevent test from being run when no RTOS is present.pull/7202/head
parent
6fa560930c
commit
5fe241bac9
|
@ -13,6 +13,9 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if MBED_CONF_RTOS_PRESENT
|
||||
|
||||
#include "greentea-client/test_env.h"
|
||||
#include "utest/utest.h"
|
||||
#include "unity/unity.h"
|
||||
|
@ -363,3 +366,5 @@ int main()
|
|||
{
|
||||
return !utest::v1::Harness::run(specification);
|
||||
}
|
||||
|
||||
#endif //MBED_CONF_RTOS_PRESENT
|
||||
|
|
Loading…
Reference in New Issue