[llvm] r310009 - Disable libFuzzer tests on Windows

George Karpenkov via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 17:26:13 PDT 2017


Author: george.karpenkov
Date: Thu Aug  3 17:26:12 2017
New Revision: 310009

URL: http://llvm.org/viewvc/llvm-project?rev=310009&view=rev
Log:
Disable libFuzzer tests on Windows

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

Modified:
    llvm/trunk/lib/Fuzzer/CMakeLists.txt

Modified: llvm/trunk/lib/Fuzzer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/CMakeLists.txt?rev=310009&r1=310008&r2=310009&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/CMakeLists.txt (original)
+++ llvm/trunk/lib/Fuzzer/CMakeLists.txt Thu Aug  3 17:26:12 2017
@@ -63,6 +63,14 @@ if ( LLVM_USE_SANITIZE_COVERAGE OR CMAKE
   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()




More information about the llvm-commits mailing list