diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2021-11-17 13:29:50 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2021-11-23 14:36:57 +0000 |
commit | 0d742a8daf55311f048a6959d6641a9a95a2eb04 (patch) | |
tree | d7c5a19ea5fa91ec7855d66530525a51105840e0 /autotests | |
parent | 148ea287a0a7b9de96dc299db56254c65aec3385 (diff) | |
download | kconfig-0d742a8daf55311f048a6959d6641a9a95a2eb04.tar.gz kconfig-0d742a8daf55311f048a6959d6641a9a95a2eb04.tar.bz2 |
Add the enum group test to the kconfigcompiler_test
Making sure that it runs and not segfaults
Diffstat (limited to 'autotests')
-rw-r--r-- | autotests/kconfig_compiler/CMakeLists.txt | 2 | ||||
-rw-r--r-- | autotests/kconfig_compiler/kconfigcompiler_test.cpp | 1 |
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", |