[PATCH] D28355: [libFuzzer] Diff 45 - Remove afl test on Windows.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 21 17:37:34 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL292734: [libFuzzer] Disable afl tests for Windows. (authored by mpividori).
Changed prior to commit:
https://reviews.llvm.org/D28355?vs=83235&id=85255#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28355
Files:
llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt
Index: llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt
===================================================================
--- llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt
+++ llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt
@@ -16,14 +16,15 @@
###############################################################################
# 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()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28355.85255.patch
Type: text/x-patch
Size: 1117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170122/e9305f58/attachment.bin>
More information about the llvm-commits
mailing list