summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer
diff options
context:
space:
mode:
authorMarcos Pividori <mpividori@google.com>2017-01-22 01:26:18 +0000
committerMarcos Pividori <mpividori@google.com>2017-01-22 01:26:18 +0000
commit3662f4efc9bfa17a59da44d56c7ec1a5de21c33a (patch)
tree59c59390a0e04ea3e5900fbdd0af499c8c715140 /llvm/lib/Fuzzer
parent772d253e8569c88996952f507950570091b732d6 (diff)
downloadbcm5719-llvm-3662f4efc9bfa17a59da44d56c7ec1a5de21c33a.tar.gz
bcm5719-llvm-3662f4efc9bfa17a59da44d56c7ec1a5de21c33a.zip
[libFuzzer] Disable afl tests for Windows.
On Windows, we don't have interoperability between libFuzzer and afl. Differential Revision: https://reviews.llvm.org/D28355 llvm-svn: 292734
Diffstat (limited to 'llvm/lib/Fuzzer')
-rw-r--r--llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt23
1 files changed, 12 insertions, 11 deletions
diff --git a/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt b/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt
index d2f6f438ad7..9cbe65c6719 100644
--- a/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt
+++ b/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt
@@ -16,14 +16,15 @@ endforeach()
###############################################################################
# AFL Driver test
###############################################################################
-
-add_executable(AFLDriverTest
- ../AFLDriverTest.cpp ../../afl/afl_driver.cpp)
-
-set_target_properties(AFLDriverTest
- PROPERTIES RUNTIME_OUTPUT_DIRECTORY
- "${CMAKE_BINARY_DIR}/lib/Fuzzer/test"
- )
-
-# Propagate value into parent directory
-set(TestBinaries ${TestBinaries} AFLDriverTest PARENT_SCOPE)
+if(NOT MSVC)
+ add_executable(AFLDriverTest
+ ../AFLDriverTest.cpp ../../afl/afl_driver.cpp)
+
+ set_target_properties(AFLDriverTest
+ PROPERTIES RUNTIME_OUTPUT_DIRECTORY
+ "${CMAKE_BINARY_DIR}/lib/Fuzzer/test"
+ )
+
+ # Propagate value into parent directory
+ set(TestBinaries ${TestBinaries} AFLDriverTest PARENT_SCOPE)
+endif()
OpenPOWER on IntegriCloud