Warning, /plasma/plasma-workspace/libkmpris/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2023 Fushan Wen <qydwhotmail@gmail.com> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 include_directories(${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/..) 0005 0006 ecm_add_test(fetchinitialplayertest.cpp LINK_LIBRARIES kmpris Qt::Test) 0007 ecm_add_test(mprisdeclarativetest.cpp LINK_LIBRARIES kmpris Qt::Test Qt::Quick Qt::Qml) 0008 set_tests_properties( 0009 fetchinitialplayertest 0010 mprisdeclarativetest 0011 PROPERTIES 0012 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/.. 0013 ) 0014 0015 find_program(xdotool_PATH xdotool REQUIRED) 0016 find_program(kglobalacceld_PATH kglobalacceld PATHS ${KDE_INSTALL_FULL_LIBEXECDIR} REQUIRED) 0017 add_test(NAME mediakeystest 0018 COMMAND python3 ${CMAKE_CURRENT_SOURCE_DIR}/mediakeystest.py ${KDE_INSTALL_FULL_LIBEXECDIR}/kglobalacceld 0019 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../appiumtests 0020 )