[clangd][xpc] Fix XPC unittests

Fix build after recent changes in clangd tests & add xpc unittests to
check-clangd target.

Differential Revision: https://reviews.llvm.org/D61271

llvm-svn: 359489
This commit is contained in:
Jan Korous 2019-04-29 19:41:30 +00:00
parent 1303f90d49
commit fd76383d76
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ set(CLANGD_TEST_DEPS
if(CLANGD_BUILD_XPC)
list(APPEND CLANGD_TEST_DEPS clangd-xpc-test-client)
list(APPEND CLANGD_TEST_DEPS ClangdXpcUnitTests)
endif()
foreach(dep FileCheck count not)

View File

@ -8,7 +8,8 @@ include_directories(
${CLANGD_SOURCE_DIR}
)
add_extra_unittest(ClangdXpcTests
add_custom_target(ClangdXpcUnitTests)
add_unittest(ClangdXpcUnitTests ClangdXpcTests
ConversionTests.cpp
)