[llvm] c10b9f0 - [CMake] Fix accidentally inverted condition

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 15:17:56 PST 2020


Author: Jonas Devlieghere
Date: 2020-02-07T15:17:25-08:00
New Revision: c10b9f0bde2666abd3e2d0845dee16ac9db1ab6f

URL: https://github.com/llvm/llvm-project/commit/c10b9f0bde2666abd3e2d0845dee16ac9db1ab6f
DIFF: https://github.com/llvm/llvm-project/commit/c10b9f0bde2666abd3e2d0845dee16ac9db1ab6f.diff

LOG: [CMake] Fix accidentally inverted condition

I unintentionally inverted the condition for excluding the tests from
check-all.

Added: 
    

Modified: 
    llvm/test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index a20608d7fbc8..2f19963fe1b6 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -169,9 +169,9 @@ add_custom_target(llvm-test-depends DEPENDS ${LLVM_TEST_DEPENDS})
 set_target_properties(llvm-test-depends PROPERTIES FOLDER "Tests")
 
 if(LLVM_BUILD_TOOLS)
-  set(exclude_from_check_all "EXCLUDE_FROM_CHECK_ALL")
-else()
   set(exclude_from_check_all "")
+else()
+  set(exclude_from_check_all "EXCLUDE_FROM_CHECK_ALL")
 endif()
 
 add_lit_testsuite(check-llvm "Running the LLVM regression tests"


        


More information about the llvm-commits mailing list