[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)
llvm-svn: 281583

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

index 1cc02d24272160c34829af8d35e3ec9a93ef8749..4df13ad82f3b3d1b86351a9ce5d2b78dfe6e34fe 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 1dc7d15926ca39d850e45e7e442eecb4119d8249..07353a5c770af440f65e3ac26ec9ab5893df73e5 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)