You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
440 B

function(plasmoidtest plasmoidName)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/testLayout.js.in
${CMAKE_CURRENT_BINARY_DIR}/testLayout-${plasmoidName}.js
@ONLY
)
add_test(NAME ${plasmoidName}-test COMMAND
plasmashell --test ${CMAKE_CURRENT_BINARY_DIR}/testLayout-plasmoidName.js
)
endfunction()
plasmoidtest(org.kde.plasma.analogclock)
plasmoidtest(org.kde.plasma.kickoff)