[llvm] r292734 - [libFuzzer] Disable afl tests for Windows.
Marcos Pividori via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 21 17:26:19 PST 2017
Author: mpividori
Date: Sat Jan 21 19:26:18 2017
New Revision: 292734
URL: http://llvm.org/viewvc/llvm-project?rev=292734&view=rev
Log:
[libFuzzer] Disable afl tests for Windows.
On Windows, we don't have interoperability between libFuzzer and afl.
Differential Revision: https://reviews.llvm.org/D28355
Modified:
llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt
Modified: llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt?rev=292734&r1=292733&r2=292734&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt (original)
+++ llvm/trunk/lib/Fuzzer/test/no-coverage/CMakeLists.txt Sat Jan 21 19:26:18 2017
@@ -16,14 +16,15 @@ endforeach()
###############################################################################
# AFL Driver test
###############################################################################
+if(NOT MSVC)
+ add_executable(AFLDriverTest
+ ../AFLDriverTest.cpp ../../afl/afl_driver.cpp)
-add_executable(AFLDriverTest
- ../AFLDriverTest.cpp ../../afl/afl_driver.cpp)
+ set_target_properties(AFLDriverTest
+ PROPERTIES RUNTIME_OUTPUT_DIRECTORY
+ "${CMAKE_BINARY_DIR}/lib/Fuzzer/test"
+ )
-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)
+ # Propagate value into parent directory
+ set(TestBinaries ${TestBinaries} AFLDriverTest PARENT_SCOPE)
+endif()
More information about the llvm-commits
mailing list