Disable libFuzzer tests on Windows

Differential Revision: https://reviews.llvm.org/D36297

git-svn-id: svn://svn.chromium.org/llvm-project/llvm/trunk/lib/Fuzzer@310009 0b72dbe1-c17f-4bc7-b9db-2b4152be0356
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc74489..423ae3d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,6 +63,14 @@
   target_link_libraries(LLVMFuzzer ${LLVM_PTHREAD_LIB})
 endif()
 
-if( LLVM_USE_SANITIZE_COVERAGE AND LLVM_INCLUDE_TESTS )
-  add_subdirectory(test)
+if (MSVC)
+
+  # Until bots are reconfigured, check-fuzzer on Windows is a no-OP.
+  add_custom_target(check-fuzzer)
+  add_custom_command(TARGET check-fuzzer
+    COMMAND cmake -E echo "check-fuzzer is disalbed on Windows")
+else()
+  if( LLVM_USE_SANITIZE_COVERAGE AND LLVM_INCLUDE_TESTS )
+    add_subdirectory(test)
+  endif()
 endif()