]> granicus.if.org Git - clang/commitdiff
LLVM_INCLUDE_TESTS applies to unit tests, not the normal Clang tests
authorDouglas Gregor <dgregor@apple.com>
Fri, 25 Feb 2011 00:32:30 +0000 (00:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 25 Feb 2011 00:32:30 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126458 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index afbe13b485284c3110dc5a1b39753bdf206a68bf..a5306fcb9aba992c44aaa9984ca85977f66e1b30 100644 (file)
@@ -245,9 +245,9 @@ add_subdirectory(tools)
 add_subdirectory(runtime)
 
 # TODO: docs.
-if( LLVM_INCLUDE_TESTS )
-  add_subdirectory(test)
+add_subdirectory(test)
 
+if( LLVM_INCLUDE_TESTS )
   if( NOT CLANG_BUILT_STANDALONE )
     add_subdirectory(unittests)
   endif()