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-extract
llvm-dwarfdump
llvm-link
- llvm-lto
+ llvm-lto
llvm-mc
llvm-mcmarkup
llvm-nm
+ llvm-size
llvm-objdump
+ llvm-profdata
llvm-readobj
llvm-rtdyld
llvm-symbolizer
+ llvm-tblgen
+ llvm-vtabledump
macho-dump
opt
- profile_rt-shared
FileCheck
count
not
yaml2obj
obj2yaml
+ verify-uselistorder
)
# If Intel JIT events are supported, depend on a tool that tests the listener.
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-jitlistener)
endif( LLVM_USE_INTEL_JITEVENTS )
+if(TARGET LLVMgold)
+ set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LLVMgold)
+endif()
+
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