mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	New unity component can be used for testing other applications. Upstream version of Unity is included as a submodule. Utilities specific to ESP-IDF unit tests (partitions, leak checking setup/teardown functions, etc) are kept only in unit-test-app. Kconfig options are added to allow disabling certain Unity features.
		
			
				
	
	
		
			22 lines
		
	
	
		
			455 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			455 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#
 | 
						|
# Component Makefile
 | 
						|
#
 | 
						|
 | 
						|
ifeq ($(GCC_NOT_5_2_0), 1)
 | 
						|
unity/src/unity.o: CFLAGS += -Wno-unused-const-variable
 | 
						|
endif
 | 
						|
 | 
						|
COMPONENT_ADD_INCLUDEDIRS = include unity/src
 | 
						|
COMPONENT_SRCDIRS = unity/src .
 | 
						|
 | 
						|
ifndef CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER
 | 
						|
COMPONENT_OBJEXCLUDE += unity_runner.o
 | 
						|
endif
 | 
						|
 | 
						|
ifdef CONFIG_UNITY_ENABLE_FIXTURE
 | 
						|
COMPONENT_SRCDIRS += unity/extras/fixture/src
 | 
						|
COMPONENT_ADD_INCLUDEDIRS += unity/extras/fixture/src
 | 
						|
endif
 | 
						|
 | 
						|
COMPONENT_SUBMODULES := unity
 |