check-clang-tools: Actually build and run XPC test
authorNico Weber <nicolasweber@gmx.de>
Thu, 4 Apr 2019 20:08:04 +0000 (20:08 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 4 Apr 2019 20:08:04 +0000 (20:08 +0000)
commite028de43cd5fcad19736cd9b3352ef8530419ba9
tree4cf7e67ab5e6fdf1b73891d4e0c9c13c16f7d7ec
parenta0401744185b4b8b7aef000d84828197c6f20a1d
check-clang-tools: Actually build and run XPC test

The CMake variable controlling if XPC code is built is called
CLANGD_BUILD_XPC but three places unintentionally checked the
non-existent variable CLANGD_BUILD_XPC_SUPPORT instead, which (due to
being nonexistent, and due to cmake) always silently evaluated to false.

Luckily the test still seems to pass, despite never running after being
added almost 3 months ago in r351280.

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

llvm-svn: 357719
clang-tools-extra/test/CMakeLists.txt
clang-tools-extra/test/lit.site.cfg.py.in