Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 43 | ecm_add_tests( | |||
---|---|---|---|---|---|
47 | test_kconf_update.cpp | 47 | test_kconf_update.cpp | ||
48 | ksharedconfig_in_global_object | 48 | ksharedconfig_in_global_object | ||
49 | NAME_PREFIX kconfigcore- | 49 | NAME_PREFIX kconfigcore- | ||
50 | LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent | 50 | LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent | ||
51 | ) | 51 | ) | ||
52 | 52 | | |||
53 | target_include_directories(test_kconf_update PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../src/kconf_update) | 53 | target_include_directories(test_kconf_update PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../src/kconf_update) | ||
54 | 54 | | |||
55 | if(TARGET Qt5::Gui) | ||||
55 | ecm_add_tests( | 56 | ecm_add_tests( | ||
56 | kconfigguitest.cpp | 57 | kconfigguitest.cpp | ||
57 | kconfigloadertest.cpp | 58 | kconfigloadertest.cpp | ||
58 | kconfigskeletontest.cpp | 59 | kconfigskeletontest.cpp | ||
59 | kstandardshortcuttest.cpp | 60 | kstandardshortcuttest.cpp | ||
60 | NAME_PREFIX kconfiggui- | 61 | NAME_PREFIX kconfiggui- | ||
61 | LINK_LIBRARIES KF5::ConfigGui Qt5::Test | 62 | LINK_LIBRARIES KF5::ConfigGui Qt5::Test | ||
62 | ) | 63 | ) | ||
63 | 64 | | |||
64 | # These tests do a global cleanup of ~/.qttest, so they can't run in parallel | 65 | # These tests do a global cleanup of ~/.qttest, so they can't run in parallel | ||
65 | set_tests_properties(kconfigcore-kconfigtest PROPERTIES RUN_SERIAL TRUE) | 66 | set_tests_properties(kconfigcore-kconfigtest PROPERTIES RUN_SERIAL TRUE) | ||
66 | set_tests_properties(kconfigcore-kconfignokdehometest PROPERTIES RUN_SERIAL TRUE) | 67 | set_tests_properties(kconfigcore-kconfignokdehometest PROPERTIES RUN_SERIAL TRUE) | ||
67 | set_tests_properties(kconfiggui-kconfigguitest PROPERTIES RUN_SERIAL TRUE) | 68 | set_tests_properties(kconfiggui-kconfigguitest PROPERTIES RUN_SERIAL TRUE) | ||
68 | 69 | | |||
69 | add_subdirectory(kconfig_compiler) | 70 | add_subdirectory(kconfig_compiler) | ||
70 | 71 | endif() |