summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richardson <arichardson.kde@gmail.com>2015-04-22 12:09:24 (GMT)
committerAlex Richardson <arichardson.kde@gmail.com>2015-05-22 15:33:09 (GMT)
commit0ef5903c73fbf074317620ef739cf6fb026969a6 (patch)
tree00fbe00159d127265d81e12760351d6d52117705
parent3f55cc1e9084ae39941d4ba3030e1dd96463acb9 (diff)
Use ecm_add_test correctly
The first argument is not the target name but one of the source files.
-rw-r--r--autotests/CMakeLists.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt
index 274cbca..f27f479 100644
--- a/autotests/CMakeLists.txt
+++ b/autotests/CMakeLists.txt
@@ -3,62 +3,62 @@ add_definitions( -DKDESRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/" )
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
-ecm_add_test(shelltest shelltest.cpp ../shell/shellutils.cpp
+ecm_add_test(shelltest.cpp ../shell/shellutils.cpp
TEST_NAME "shelltest"
LINK_LIBRARIES Qt5::Test okularcore KF5::KDELibs4Support
)
-ecm_add_test(parttest parttest.cpp
+ecm_add_test(parttest.cpp
TEST_NAME "parttest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore okularpart KF5::KDELibs4Support
)
-ecm_add_test(documenttest documenttest.cpp
+ecm_add_test(documenttest.cpp
TEST_NAME "documenttest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore KF5::KDELibs4Support KF5::ThreadWeaver
)
-ecm_add_test(searchtest searchtest.cpp
+ecm_add_test(searchtest.cpp
TEST_NAME "searchtest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore KF5::KDELibs4Support
)
-ecm_add_test(annotationstest annotationstest.cpp
+ecm_add_test(annotationstest.cpp
TEST_NAME "annotationstest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore KF5::KDELibs4Support
)
-ecm_add_test(urldetecttest urldetecttest.cpp
+ecm_add_test(urldetecttest.cpp
TEST_NAME "urldetecttest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml KF5::CoreAddons KF5::KDELibs4Support
)
-ecm_add_test(editannotationcontentstest editannotationcontentstest.cpp testingutils.cpp
+ecm_add_test(editannotationcontentstest.cpp testingutils.cpp
TEST_NAME "editannotationcontentstest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore KF5::KDELibs4Support
)
-ecm_add_test(addremoveannotationtest addremoveannotationtest.cpp testingutils.cpp
+ecm_add_test(addremoveannotationtest.cpp testingutils.cpp
TEST_NAME "addremoveannotationtest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore KF5::KDELibs4Support
)
-ecm_add_test(translateannotationtest translateannotationtest.cpp testingutils.cpp
+ecm_add_test(translateannotationtest.cpp testingutils.cpp
TEST_NAME "translateannotationtest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore KF5::KDELibs4Support
)
-ecm_add_test(modifyannotationpropertiestest modifyannotationpropertiestest.cpp testingutils.cpp
+ecm_add_test(modifyannotationpropertiestest.cpp testingutils.cpp
TEST_NAME "modifyannotationpropertiestest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test okularcore KF5::KDELibs4Support
)
-ecm_add_test(editformstest editformstest.cpp
+ecm_add_test(editformstest.cpp
TEST_NAME "editformstest"
LINK_LIBRARIES Qt5::Widgets Qt5::Test okularcore KF5::KDELibs4Support
)
-ecm_add_test(mainshelltest mainshelltest.cpp ../shell/okular_main.cpp ../shell/shellutils.cpp ../shell/shell.cpp
+ecm_add_test(mainshelltest.cpp ../shell/okular_main.cpp ../shell/shellutils.cpp ../shell/shell.cpp
TEST_NAME "mainshelltest"
LINK_LIBRARIES Qt5::Test KF5::Activities okularpart okularcore
)