Lines Matching refs:name
12 # 3. Neither the name of the copyright holder nor the
134 macro(ot_unit_test name)
138 # Unit test name will be `ot-test-{name}`. Test source file of
139 # `test_{name}.cpp` is used. Optional extra arguments can be
142 add_executable(ot-test-${name}
143 test_${name}.cpp ${ARGN}
146 target_include_directories(ot-test-${name}
151 target_link_libraries(ot-test-${name}
156 target_compile_options(ot-test-${name}
161 add_test(NAME ot-test-${name} COMMAND ot-test-${name})
166 macro(ot_unit_ncp_test name)
170 # Unit test name will be `ot-test-ncp-{name}`. Test source file of
171 # `test_ncp_{name}.cpp` is used. Optional extra arguments can be
174 add_executable(ot-test-ncp-${name}
175 test_ncp_${name}.cpp ${ARGN}
178 target_include_directories(ot-test-ncp-${name}
183 target_link_libraries(ot-test-ncp-${name}
189 target_compile_options(ot-test-ncp-${name}
194 add_test(NAME ot-test-ncp-${name} COMMAND ot-test-ncp-${name})