aboutsummaryrefslogtreecommitdiff
path: root/autotests
diff options
context:
space:
mode:
Diffstat (limited to 'autotests')
-rw-r--r--autotests/kconfig_compiler/CMakeLists.txt2
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/autotests/kconfig_compiler/CMakeLists.txt b/autotests/kconfig_compiler/CMakeLists.txt
index 74d09e96..4caa17af 100644
--- a/autotests/kconfig_compiler/CMakeLists.txt
+++ b/autotests/kconfig_compiler/CMakeLists.txt
@@ -309,5 +309,5 @@ target_link_libraries(test_fileextensions KF5::ConfigGui)
## If this to compiles, we are sure that the generation is correct.
set(test_enums_and_properties_SRCS enum_group_main.cpp)
gen_kcfg_test_source(test_enums_and_properties test_enums_and_properties_SRCS GENERATE_MOC)
-add_library(test_enums_and_properties ${test_enums_and_properties_SRCS})
+ecm_add_test(TEST_NAME test_enums_and_properties ${test_enums_and_properties_SRCS})
target_link_libraries(test_enums_and_properties KF5::ConfigGui)
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index 090fe01d..61666939 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -91,6 +91,7 @@ static CompilerTestSet testCasesToRun = {"test1",
"test11",
"test12",
"test13",
+ "test_enums_and_properties",
"test_dpointer",
"test_qdebugcategory",
"test_signal",