Merge pull request #12612 from jamesbeyond/int_test

TEST: add RTOS macro to enable integration test
pull/12733/head
Martin Kojtal 2020-03-31 15:13:51 +02:00 committed by GitHub
commit 9bea1509da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 2 deletions

View File

@ -21,7 +21,7 @@
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
*/
#if INTEGRATION_TESTS
#if INTEGRATION_TESTS && MBED_CONF_RTOS_PRESENT
#include "mbed.h"
#include "unity/unity.h"

View File

@ -20,7 +20,7 @@
/*
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
*/
#if INTEGRATION_TESTS
#if INTEGRATION_TESTS && MBED_CONF_RTOS_PRESENT
#include "mbed.h"
#include "unity/unity.h"

View File

@ -23,6 +23,8 @@
#if !INTEGRATION_TESTS
#error [NOT_SUPPORTED] integration tests not enabled for this target
#elif !MBED_CONF_RTOS_PRESENT
#error [NOT_SUPPORTED] integration tests require RTOS
#else
#include "mbed.h"

View File

@ -23,6 +23,8 @@
#if !INTEGRATION_TESTS
#error [NOT_SUPPORTED] integration tests not enabled for this target
#elif !MBED_CONF_RTOS_PRESENT
#error [NOT_SUPPORTED] integration tests require RTOS
#else
#include "mbed.h"

View File

@ -23,6 +23,8 @@
#if !INTEGRATION_TESTS
#error [NOT_SUPPORTED] integration tests not enabled for this target
#elif !MBED_CONF_RTOS_PRESENT
#error [NOT_SUPPORTED] integration tests require RTOS
#else
#include "mbed.h"

View File

@ -23,6 +23,8 @@
#if !INTEGRATION_TESTS
#error [NOT_SUPPORTED] integration tests not enabled for this target
#elif !MBED_CONF_RTOS_PRESENT
#error [NOT_SUPPORTED] integration tests require RTOS
#else
#include "mbed.h"

View File

@ -23,6 +23,8 @@
#if !INTEGRATION_TESTS
#error [NOT_SUPPORTED] integration tests not enabled for this target
#elif !MBED_CONF_RTOS_PRESENT
#error [NOT_SUPPORTED] integration tests require RTOS
#else
#include "mbed.h"