Testcase for PR17964
[oota-llvm.git] / test / CMakeLists.txt
index 8704a1076241eb979b9f31795c66aa5f1863d2e9..d6f7dab1287e004335a0739bb5a6701b96a2c914 100644 (file)
@@ -13,6 +13,7 @@ if(NOT LLVM_BUILD_TOOLS)
 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
           UnitTests
           BugpointPasses
@@ -23,6 +24,7 @@ set(LLVM_TEST_DEPENDS
           llvm-ar
           llvm-as
           llvm-bcanalyzer
+          llvm-c-test
           llvm-cov
           llvm-diff
           llvm-dis
@@ -52,10 +54,6 @@ if( LLVM_USE_INTEL_JITEVENTS )
   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