mirror of
				https://github.com/red0124/ssp.git
				synced 2025-11-04 06:36:45 +01:00 
			
		
		
		
	remove test_main from ci
This commit is contained in:
		
							parent
							
								
									2765cb467f
								
							
						
					
					
						commit
						33f65e2061
					
				@ -31,6 +31,7 @@ enable_testing()
 | 
			
		||||
foreach(name IN ITEMS test_main test_parser test_converter test_extractions)
 | 
			
		||||
  add_executable("${name}" "${name}.cpp")
 | 
			
		||||
  target_link_libraries("${name}" PRIVATE ssp::ssp doctest::doctest)
 | 
			
		||||
  target_compile_definitions("${name}" PRIVATE CMAKE_GITHUB_CI)
 | 
			
		||||
  target_compile_definitions("${name}" PRIVATE \
 | 
			
		||||
    DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI)
 | 
			
		||||
  doctest_discover_tests("${name}")
 | 
			
		||||
endforeach()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user