[autotools->cmake] Move add_subdirectory(test) inside CLANG_INCLUDE_TESTS to match the behavior of the LLVM where LLVM_INCLUDE_TESTS controls whether tests is included.
llvm-svn: 188760
This commit is contained in:
		
							parent
							
								
									794315b65a
								
							
						
					
					
						commit
						23a3567bf1
					
				| 
						 | 
				
			
			@ -320,9 +320,9 @@ option(CLANG_INCLUDE_TESTS
 | 
			
		|||
       ${LLVM_INCLUDE_TESTS})
 | 
			
		||||
 | 
			
		||||
# TODO: docs.
 | 
			
		||||
add_subdirectory(test)
 | 
			
		||||
 | 
			
		||||
if( CLANG_INCLUDE_TESTS )
 | 
			
		||||
  add_subdirectory(test)
 | 
			
		||||
  add_subdirectory(unittests)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue