Commit 6b5b817c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use add_test signature where target command gets resolved to binary path

parent 108fe366
......@@ -10,7 +10,7 @@ set(decorationButtonTest_SRCS
)
add_executable(decorationButtonTest ${decorationButtonTest_SRCS})
target_link_libraries(decorationButtonTest kdecorations2 kdecorations2private Qt5::Test)
add_test(kdecoration2-decorationButtonTest decorationButtonTest)
add_test(NAME kdecoration2-decorationButtonTest COMMAND decorationButtonTest)
ecm_mark_as_test(decorationButtonTest)
set(decorationTest_SRCS
......@@ -23,7 +23,7 @@ set(decorationTest_SRCS
)
add_executable(decorationTest ${decorationTest_SRCS})
target_link_libraries(decorationTest kdecorations2 kdecorations2private Qt5::Test)
add_test(kdecoration2-decorationTest decorationTest)
add_test(NAME kdecoration2-decorationTest COMMAND decorationTest)
ecm_mark_as_test(decorationTest)
set(decorationShadowTest_SRCS
......@@ -31,5 +31,5 @@ set(decorationShadowTest_SRCS
)
add_executable(decorationShadowTest ${decorationShadowTest_SRCS})
target_link_libraries(decorationShadowTest kdecorations2 Qt5::Test)
add_test(kdecoration2-decorationShadowTest decorationShadowTest)
add_test(NAME kdecoration2-decorationShadowTest COMMAND decorationShadowTest)
ecm_mark_as_test(decorationShadowTest)
Supports Markdown
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