Commit 00551b89 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix command name so ctest can exec all test + remove extra variable

parent d88ad64a
Pipeline #76014 canceled with stage
......@@ -2,10 +2,10 @@
# SPDX-License-Identifier: BSD-3-Clause
# convenience macro to add qtest unit tests
macro(add_kmail_mailmergeunittest _source )
set(_test ${_source} ${_additionalsource})
set(_test ${_source})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_test( ${_name} ${_name} )
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail-${_name})
target_link_libraries( ${_name}
KF5::PimCommon
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment