[CMake] Fix accidentally inverted condition

I unintentionally inverted the condition for excluding the tests from
check-all.
This commit is contained in:
Jonas Devlieghere 2020-02-07 15:12:05 -08:00
parent 248435e9c9
commit c10b9f0bde
1 changed files with 2 additions and 2 deletions

View File

@ -169,9 +169,9 @@ 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")
if(LLVM_BUILD_TOOLS) if(LLVM_BUILD_TOOLS)
set(exclude_from_check_all "EXCLUDE_FROM_CHECK_ALL")
else()
set(exclude_from_check_all "") set(exclude_from_check_all "")
else()
set(exclude_from_check_all "EXCLUDE_FROM_CHECK_ALL")
endif() endif()
add_lit_testsuite(check-llvm "Running the LLVM regression tests" add_lit_testsuite(check-llvm "Running the LLVM regression tests"