Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
test/CMakeLists.txt
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | list(APPEND LLVM_TEST_DEPENDS | ||||
Kaleidoscope-Ch3 | Kaleidoscope-Ch3 | ||||
Kaleidoscope-Ch4 | Kaleidoscope-Ch4 | ||||
Kaleidoscope-Ch5 | Kaleidoscope-Ch5 | ||||
Kaleidoscope-Ch6 | Kaleidoscope-Ch6 | ||||
Kaleidoscope-Ch7 | Kaleidoscope-Ch7 | ||||
) | ) | ||||
endif() | endif() | ||||
option(LLVM_XFAILS_REQUIRE_PRS "Require PRs for all tests with XFAIL annotations" Off) | |||||
if(LLVM_XFAILS_REQUIRE_PRS) | |||||
list(APPEND LLVM_LIT_ARGS "--xfail-requires-pr") | |||||
endif() | |||||
add_custom_target(llvm-test-depends DEPENDS ${LLVM_TEST_DEPENDS}) | add_custom_target(llvm-test-depends DEPENDS ${LLVM_TEST_DEPENDS}) | ||||
set_target_properties(llvm-test-depends PROPERTIES FOLDER "Tests") | set_target_properties(llvm-test-depends PROPERTIES FOLDER "Tests") | ||||
add_lit_testsuite(check-llvm "Running the LLVM regression tests" | add_lit_testsuite(check-llvm "Running the LLVM regression tests" | ||||
${CMAKE_CURRENT_BINARY_DIR} | ${CMAKE_CURRENT_BINARY_DIR} | ||||
PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg | PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg | ||||
llvm_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg | llvm_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg | ||||
DEPENDS ${LLVM_TEST_DEPENDS} | DEPENDS ${LLVM_TEST_DEPENDS} | ||||
Show All 14 Lines |