summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/test/CMakeLists.txt')
-rw-r--r--llvm/lib/Fuzzer/test/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/CMakeLists.txt b/llvm/lib/Fuzzer/test/CMakeLists.txt
index 9f95657b978..c5520b33909 100644
--- a/llvm/lib/Fuzzer/test/CMakeLists.txt
+++ b/llvm/lib/Fuzzer/test/CMakeLists.txt
@@ -110,6 +110,19 @@ foreach(Test ${Tests})
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"
+ )
+set(TestBinaries ${TestBinaries} AFLDriverTest)
+
+###############################################################################
# Unit tests
###############################################################################
OpenPOWER on IntegriCloud