Skip to content

Commit 81393a6

Browse files
committed
Test that LLVM unit tests are working in GitHub CI
1 parent c4788bf commit 81393a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ if (LLVM_INCLUDE_SPIRV_TOOLS_TESTS)
247247
list(APPEND LLVM_TEST_DEPENDS spirv-link)
248248
endif()
249249

250-
add_custom_target(llvm-test-depends DEPENDS ${LLVM_TEST_DEPENDS})
250+
add_custom_target(llvm-test-depends DEPENDS ${LLVM_TEST_DEPENDS} UnitTests)
251251
set_target_properties(llvm-test-depends PROPERTIES FOLDER "LLVM/Tests")
252252

253253
if(LLVM_BUILD_TOOLS)
@@ -259,7 +259,7 @@ endif()
259259
add_lit_testsuite(check-llvm "Running the LLVM regression tests"
260260
${CMAKE_CURRENT_BINARY_DIR}
261261
${exclude_from_check_all}
262-
DEPENDS ${LLVM_TEST_DEPENDS}
262+
DEPENDS ${LLVM_TEST_DEPENDS} UnitTests
263263
)
264264
set_target_properties(check-llvm PROPERTIES FOLDER "LLVM/Tests")
265265

0 commit comments

Comments
 (0)