Commit fdc8a93f authored by Daan De Meyer's avatar Daan De Meyer

Clean up kate autotests CMake script.

parent 8521250f
include(ECMMarkAsTest)
find_package(Qt5Test QUIET REQUIRED)
macro(kate_executable_tests)
foreach(_testname ${ARGN})
add_executable(${_testname} ${_testname}.cpp)
target_link_libraries(
${_testname}
PRIVATE
kdeinit_kate
Qt5::Test
)
add_test(NAME kateapp-${_testname} COMMAND ${_testname})
target_link_libraries(${_testname} kdeinit_kate Qt5::Test)
ecm_mark_as_test(${_testname})
endforeach(_testname)
endmacro(kate_executable_tests)
endforeach()
endmacro()
kate_executable_tests(
session_test
......
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