endif()
# Set the depends list as a variable so that it can grow conditionally.
+# NOTE: Sync the substitutions in test/lit.cfg when adding to this list.
set(LLVM_TEST_DEPENDS
+ llvm-config
UnitTests
BugpointPasses
LLVMHello
+ bugpoint
llc
lli
lli-child-target
llvm-ar
llvm-as
llvm-bcanalyzer
+ llvm-c-test
llvm-cov
llvm-diff
llvm-dis
llvm-mcmarkup
llvm-nm
llvm-objdump
+ llvm-profdata
llvm-readobj
llvm-rtdyld
llvm-symbolizer
+ llvm-tblgen
macho-dump
opt
- profile_rt-shared
FileCheck
count
not
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-jitlistener)
endif( LLVM_USE_INTEL_JITEVENTS )
-if( NOT MSVC )
- set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-c-test)
-endif( NOT MSVC )
-
add_lit_testsuite(check-llvm "Running the LLVM regression tests"
${CMAKE_CURRENT_BINARY_DIR}
PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg