mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #12612 from jamesbeyond/int_test
TEST: add RTOS macro to enable integration testpull/12733/head
						commit
						9bea1509da
					
				| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue