CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
53 lines
1.4 KiB
CMake
53 lines
1.4 KiB
CMake
set(CLANGD_TEST_DEPS
|
|
clangd
|
|
ClangdTests
|
|
clangd-indexer
|
|
clangd-remap
|
|
split-file
|
|
)
|
|
|
|
if (LLVM_INCLUDE_BENCHMARKS)
|
|
list(APPEND CLANGD_TEST_DEPS IndexBenchmark)
|
|
endif()
|
|
|
|
if(CLANGD_BUILD_XPC)
|
|
list(APPEND CLANGD_TEST_DEPS clangd-xpc-test-client)
|
|
list(APPEND CLANGD_TEST_DEPS ClangdXpcUnitTests)
|
|
endif()
|
|
|
|
if(CLANGD_BUILD_DEXP)
|
|
# No tests for it, but we should still make sure they build.
|
|
list(APPEND CLANGD_TEST_DEPS dexp)
|
|
endif()
|
|
|
|
if(CLANGD_ENABLE_REMOTE)
|
|
list(APPEND CLANGD_TEST_DEPS clangd-index-server clangd-index-server-monitor)
|
|
endif()
|
|
|
|
foreach(dep FileCheck count not llvm-config)
|
|
if(TARGET ${dep})
|
|
list(APPEND CLANGD_TEST_DEPS ${dep})
|
|
endif()
|
|
endforeach()
|
|
|
|
configure_lit_site_cfg(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
|
|
MAIN_CONFIG
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
|
|
)
|
|
|
|
# Copy an empty compile_flags.txt to make sure tests don't pick up arbitrary
|
|
# commands from parents.
|
|
file(
|
|
TOUCH
|
|
${CMAKE_CURRENT_BINARY_DIR}/compile_flags.txt
|
|
)
|
|
|
|
add_lit_testsuite(check-clangd "Running the Clangd regression tests"
|
|
# clangd doesn't put unittest configs in test/unit like every other project.
|
|
# Because of that, this needs to pass two folders here, while every other
|
|
# project only needs to pass CMAKE_CURRENT_BINARY_DIR.
|
|
${CMAKE_CURRENT_BINARY_DIR}/../unittests;${CMAKE_CURRENT_BINARY_DIR}
|
|
DEPENDS ${CLANGD_TEST_DEPS})
|