From db55770bfae8a8a5dbeb15ddf8ffa1f8ba5b1b4a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 10 May 2016 14:38:26 -0700 Subject: [PATCH] Move the notifications fuzzer to the tests directory --- CMakeLists.txt | 1 - tests/CMakeLists.txt | 2 ++ {fuzzer => tests/notifications-fuzzer}/CMakeLists.txt | 0 {fuzzer => tests/notifications-fuzzer}/command_file.cpp | 0 {fuzzer => tests/notifications-fuzzer}/command_file.hpp | 0 {fuzzer => tests/notifications-fuzzer}/fuzz-sorted-linkview.cpp | 0 {fuzzer => tests/notifications-fuzzer}/fuzz-sorted-query.cpp | 0 .../notifications-fuzzer}/fuzz-unsorted-linkview.cpp | 0 {fuzzer => tests/notifications-fuzzer}/fuzz-unsorted-query.cpp | 0 {fuzzer => tests/notifications-fuzzer}/fuzzer.cpp | 0 {fuzzer => tests/notifications-fuzzer}/input-lv/0 | 0 {fuzzer => tests/notifications-fuzzer}/input/0 | 0 {fuzzer => tests/notifications-fuzzer}/input/1 | 0 13 files changed, 2 insertions(+), 1 deletion(-) rename {fuzzer => tests/notifications-fuzzer}/CMakeLists.txt (100%) rename {fuzzer => tests/notifications-fuzzer}/command_file.cpp (100%) rename {fuzzer => tests/notifications-fuzzer}/command_file.hpp (100%) rename {fuzzer => tests/notifications-fuzzer}/fuzz-sorted-linkview.cpp (100%) rename {fuzzer => tests/notifications-fuzzer}/fuzz-sorted-query.cpp (100%) rename {fuzzer => tests/notifications-fuzzer}/fuzz-unsorted-linkview.cpp (100%) rename {fuzzer => tests/notifications-fuzzer}/fuzz-unsorted-query.cpp (100%) rename {fuzzer => tests/notifications-fuzzer}/fuzzer.cpp (100%) rename {fuzzer => tests/notifications-fuzzer}/input-lv/0 (100%) rename {fuzzer => tests/notifications-fuzzer}/input/0 (100%) rename {fuzzer => tests/notifications-fuzzer}/input/1 (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec33ee52..286e6ff0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,5 +16,4 @@ use_realm_core(${REALM_CORE_VERSION}) include_directories(${REALM_CORE_INCLUDE_DIR} src external/pegtl) add_subdirectory(src) -add_subdirectory(fuzzer) add_subdirectory(tests) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c28b839b..6e055b4d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -22,3 +22,5 @@ target_link_libraries(tests realm-object-store) create_coverage_target(generate-coverage tests) add_custom_target(run-tests USES_TERMINAL DEPENDS tests COMMAND ./tests) + +add_subdirectory(notifications-fuzzer) diff --git a/fuzzer/CMakeLists.txt b/tests/notifications-fuzzer/CMakeLists.txt similarity index 100% rename from fuzzer/CMakeLists.txt rename to tests/notifications-fuzzer/CMakeLists.txt diff --git a/fuzzer/command_file.cpp b/tests/notifications-fuzzer/command_file.cpp similarity index 100% rename from fuzzer/command_file.cpp rename to tests/notifications-fuzzer/command_file.cpp diff --git a/fuzzer/command_file.hpp b/tests/notifications-fuzzer/command_file.hpp similarity index 100% rename from fuzzer/command_file.hpp rename to tests/notifications-fuzzer/command_file.hpp diff --git a/fuzzer/fuzz-sorted-linkview.cpp b/tests/notifications-fuzzer/fuzz-sorted-linkview.cpp similarity index 100% rename from fuzzer/fuzz-sorted-linkview.cpp rename to tests/notifications-fuzzer/fuzz-sorted-linkview.cpp diff --git a/fuzzer/fuzz-sorted-query.cpp b/tests/notifications-fuzzer/fuzz-sorted-query.cpp similarity index 100% rename from fuzzer/fuzz-sorted-query.cpp rename to tests/notifications-fuzzer/fuzz-sorted-query.cpp diff --git a/fuzzer/fuzz-unsorted-linkview.cpp b/tests/notifications-fuzzer/fuzz-unsorted-linkview.cpp similarity index 100% rename from fuzzer/fuzz-unsorted-linkview.cpp rename to tests/notifications-fuzzer/fuzz-unsorted-linkview.cpp diff --git a/fuzzer/fuzz-unsorted-query.cpp b/tests/notifications-fuzzer/fuzz-unsorted-query.cpp similarity index 100% rename from fuzzer/fuzz-unsorted-query.cpp rename to tests/notifications-fuzzer/fuzz-unsorted-query.cpp diff --git a/fuzzer/fuzzer.cpp b/tests/notifications-fuzzer/fuzzer.cpp similarity index 100% rename from fuzzer/fuzzer.cpp rename to tests/notifications-fuzzer/fuzzer.cpp diff --git a/fuzzer/input-lv/0 b/tests/notifications-fuzzer/input-lv/0 similarity index 100% rename from fuzzer/input-lv/0 rename to tests/notifications-fuzzer/input-lv/0 diff --git a/fuzzer/input/0 b/tests/notifications-fuzzer/input/0 similarity index 100% rename from fuzzer/input/0 rename to tests/notifications-fuzzer/input/0 diff --git a/fuzzer/input/1 b/tests/notifications-fuzzer/input/1 similarity index 100% rename from fuzzer/input/1 rename to tests/notifications-fuzzer/input/1