Skip to content
Snippets Groups Projects
Commit 299696c8 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

More correct fix for CMake breakage I was seeing, my buildbots use

LLVM_INCLUDE_TESTS:=OFF, which may no longer be necessary for all I know.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125985 91177308-0d34-0410-b5e6-96231b3b80d8
parent 2fdf79ff
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,9 @@ add_subdirectory(tools)
add_subdirectory(runtime)
# TODO: docs.
if( LLVM_INCLUDE_TESTS )
add_subdirectory(test)
endif()
# FIXME: unittests require gtest.
if( NOT CLANG_BUILT_STANDALONE )
......
......@@ -113,7 +113,7 @@ 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)
add_dependencies(clang-test.deps
ClangUnitTests
llvm-dis opt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment