test/CMakeLists.txt: Fix ClangUnitTests to be built with clang-test and check-all.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-07-10 17:45:23 +00:00
Родитель 23319f36d2
Коммит 92d9a1e339
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -97,9 +97,9 @@ if(PYTHONINTERP_FOUND)
${LLVM_BINARY_DIR}/test
${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Running Clang and LLVM regression tests")
add_dependencies(check-all clang-test.deps)
add_dependencies(check-all check.deps clang-test.deps)
if ( LLVM_INCLUDE_TESTS )
add_dependencies(check-all check.deps ClangUnitTests)
add_dependencies(clang-test.deps ClangUnitTests)
endif ( LLVM_INCLUDE_TESTS )
add_dependencies(clang-test.deps
llvm-dis opt