diff --git a/tests/fuzz/CMakeLists.txt b/tests/fuzz/CMakeLists.txt index f3b6c4499..66e0e57dc 100644 --- a/tests/fuzz/CMakeLists.txt +++ b/tests/fuzz/CMakeLists.txt @@ -56,12 +56,12 @@ macro(ot_nexus_test name) # Macro to add an OpenThread nexus test. # - # Nexus test name will be `nexus_{name}`. Test source file of - # `test_{name}.cpp` is used. Optional extra arguments can be + # Nexus test name will be `{name}-fuzzer`. Test source file of + # `fuzz_{name}.cpp` is used. Optional extra arguments can be # passed to provide additional source files. add_executable(${name}-fuzzer - ${name}.cpp ${ARGN} + fuzz_${name}.cpp ${ARGN} ) target_include_directories(${name}-fuzzer diff --git a/tests/fuzz/cli.cpp b/tests/fuzz/fuzz_cli.cpp similarity index 100% rename from tests/fuzz/cli.cpp rename to tests/fuzz/fuzz_cli.cpp diff --git a/tests/fuzz/icmp6.cpp b/tests/fuzz/fuzz_icmp6.cpp similarity index 100% rename from tests/fuzz/icmp6.cpp rename to tests/fuzz/fuzz_icmp6.cpp diff --git a/tests/fuzz/ip6.cpp b/tests/fuzz/fuzz_ip6.cpp similarity index 100% rename from tests/fuzz/ip6.cpp rename to tests/fuzz/fuzz_ip6.cpp diff --git a/tests/fuzz/mdns.cpp b/tests/fuzz/fuzz_mdns.cpp similarity index 100% rename from tests/fuzz/mdns.cpp rename to tests/fuzz/fuzz_mdns.cpp diff --git a/tests/fuzz/radio-one-node.cpp b/tests/fuzz/fuzz_radio-one-node.cpp similarity index 100% rename from tests/fuzz/radio-one-node.cpp rename to tests/fuzz/fuzz_radio-one-node.cpp diff --git a/tests/fuzz/trel.cpp b/tests/fuzz/fuzz_trel.cpp similarity index 100% rename from tests/fuzz/trel.cpp rename to tests/fuzz/fuzz_trel.cpp