mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-10-29 00:36:16 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			396 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			396 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| execute_process(
 | |
|     COMMAND
 | |
|         cbmc --cover location --xml-ui
 | |
|         ${cbmc_flags} ${cbmc_verbosity} ${goto_binary}
 | |
|     OUTPUT_FILE ${out_file}
 | |
|     ERROR_FILE ${out_file}
 | |
|     RESULT_VARIABLE res
 | |
| )
 | |
| 
 | |
| if(NOT (${res} EQUAL 0 OR ${res} EQUAL 10))
 | |
|     message(FATAL_ERROR
 | |
|         "Unexpected CBMC coverage return code '${res}' for proof ${proof_name}. Log written to ${out_file}."
 | |
|     )
 | |
| endif()
 |