OSDN Git Service

[libFuzzer] move the AFL driver build rule test into the uninstrumented dir
authorKostya Serebryany <kcc@google.com>
Thu, 15 Sep 2016 05:17:39 +0000 (05:17 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 15 Sep 2016 05:17:39 +0000 (05:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281583 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/test/CMakeLists.txt
lib/Fuzzer/test/no-coverage/CMakeLists.txt

index 1cc02d2..4df13ad 100644 (file)
@@ -119,18 +119,6 @@ foreach(Test ${Tests})
   add_libfuzzer_test(${Test} SOURCES ${Test}.cpp)
 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
index 1dc7d15..07353a5 100644 (file)
@@ -12,5 +12,18 @@ foreach(Test ${NoCoverageTests})
   add_libfuzzer_test(${Test}-NoCoverage SOURCES ../${Test}.cpp)
 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} PARENT_SCOPE)