]>
Commit | Line | Data |
---|---|---|
ccdad5cc JR |
1 | --- kcoreaddons-5.19.0/autotests/CMakeLists.txt~ 2016-02-06 22:39:47.000000000 +0900 |
2 | +++ kcoreaddons-5.19.0/autotests/CMakeLists.txt 2016-04-09 10:36:43.292405021 +0900 | |
3 | @@ -27,17 +27,14 @@ | |
4 | add_definitions( -DKDELIBS4CONFIGMIGRATOR_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" ) | |
5 | ||
6 | ecm_add_tests( | |
7 | - kaboutdatatest.cpp | |
8 | kautosavefiletest.cpp | |
9 | kcompositejobtest.cpp | |
10 | kformattest.cpp | |
11 | kjobtest.cpp | |
12 | kpluginfactorytest.cpp | |
13 | kpluginloadertest.cpp | |
14 | - kpluginmetadatatest.cpp | |
15 | kprocesstest.cpp | |
16 | kshareddatacachetest.cpp | |
17 | - kshelltest.cpp | |
18 | kurlmimedatatest.cpp | |
19 | kstringhandlertest.cpp | |
20 | kusertest.cpp | |
fb59faa0 JR |
21 | @@ -67,27 +64,3 @@ |
22 | MULTIPLUGIN_FILE="$<TARGET_FILE:multiplugin>" | |
ccdad5cc JR |
23 | ALWAYSUNLOADPLUGIN_FILE="$<TARGET_FILE:alwaysunloadplugin>" |
24 | ) | |
fb59faa0 | 25 | - |
ccdad5cc JR |
26 | -set(KDIRWATCH_BACKENDS_TO_TEST Stat)#Stat is always compiled |
27 | - | |
fb59faa0 JR |
28 | -if (HAVE_SYS_INOTIFY_H) |
29 | - list(APPEND KDIRWATCH_BACKENDS_TO_TEST INotify) | |
30 | -endif() | |
31 | - | |
32 | -if (HAVE_FAM) | |
33 | - list(APPEND KDIRWATCH_BACKENDS_TO_TEST Fam) | |
34 | -endif() | |
35 | - | |
36 | -if (HAVE_QFILESYSTEMWATCHER) | |
37 | - list(APPEND KDIRWATCH_BACKENDS_TO_TEST QFSWatch) | |
38 | -endif() | |
39 | - | |
40 | -foreach(_backendName ${KDIRWATCH_BACKENDS_TO_TEST}) | |
41 | - string(TOLOWER ${_backendName} _lowercaseBackendName) | |
42 | - set(BACKEND_TEST_TARGET kdirwatch_${_lowercaseBackendName}_unittest) | |
43 | - add_executable(${BACKEND_TEST_TARGET} kdirwatch_unittest.cpp) | |
44 | - target_link_libraries(${BACKEND_TEST_TARGET} Qt5::Test KF5::CoreAddons) | |
45 | - ecm_mark_as_test(${BACKEND_TEST_TARGET}) | |
46 | - add_test(NAME ${BACKEND_TEST_TARGET} COMMAND ${BACKEND_TEST_TARGET}) | |
47 | - target_compile_definitions(${BACKEND_TEST_TARGET} PUBLIC -DKDIRWATCH_TEST_METHOD=\"${_backendName}\") | |
48 | -endforeach() |