Start adding autotests

This commit is contained in:
Carl Schwan
2022-04-09 21:21:27 +02:00
committed by Tobias Fella
parent ab5afa26ef
commit 4ed123fd52
4 changed files with 155 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ include(ECMSetupVersion)
include(KDEInstallDirs)
include(ECMFindQmlModule)
include(KDECMakeSettings)
include(ECMAddTests)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMAddAppIcon)
include(KDEGitCommitHooks)
@@ -141,6 +142,10 @@ install(FILES org.kde.neochat.tray.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/h
add_definitions(-DQT_NO_FOREACH)
add_subdirectory(src)
if (BUILD_TESTING AND Quotient_VERSION_MINOR GREATER 6)
find_package(Qt5 ${QT_MIN_VERSION} NO_MODULE COMPONENTS Test)
add_subdirectory(autotests)
endif()
if(KF5DocTools_FOUND)
kdoctools_install(po)