From 732861dda9c466841a09329a0b2c992f2b78c40a Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Tue, 21 Jan 2020 23:15:23 +0100 Subject: [PATCH] Fix missing link libraries. See These are only actually missing if the libraries reside in different prefixes, as it is the case in Guix or Nix. --- src/ksieveui/autocreatescripts/tests/CMakeLists.txt | 2 ++ src/ksieveui/scriptsparsing/autotests/CMakeLists.txt | 2 +- src/ksieveui/scriptsparsing/tests/CMakeLists.txt | 8 ++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ksieveui/autocreatescripts/tests/CMakeLists.txt b/src/ksieveui/autocreatescripts/tests/CMakeLists.txt index 8a482b4..c43216c 100644 --- a/src/ksieveui/autocreatescripts/tests/CMakeLists.txt +++ b/src/ksieveui/autocreatescripts/tests/CMakeLists.txt @@ -15,6 +16,7 @@ set(parsingscript_gui_SRCS parsingscript_gui.cpp ../../tests/capability.cpp) add_executable(parsingscript_gui ${parsingscript_gui_SRCS}) target_link_libraries(parsingscript_gui KF5::KIOCore + KF5::SyntaxHighlighting KF5::KSieveUi KF5::KSieve KF5::PimCommon diff --git a/src/ksieveui/scriptsparsing/autotests/CMakeLists.txt b/src/ksieveui/scriptsparsing/autotests/CMakeLists.txt index e41a74e..31703ef 100644 --- a/src/ksieveui/scriptsparsing/autotests/CMakeLists.txt +++ b/src/ksieveui/scriptsparsing/autotests/CMakeLists.txt @@ -5,7 +5,7 @@ macro(add_sieveeditor_xmlprintingscriptbuilding _source _extrasource) ecm_add_test(${_test} TEST_NAME ${_name} NAME_PREFIX "sieveeditor-xmlprintingscriptbuilding-" - LINK_LIBRARIES Qt5::Test KF5::I18n KF5::KSieveUi + LINK_LIBRARIES Qt5::Test KF5::I18n KF5::KSieveUi KF5::SyntaxHighlighting ) endmacro() add_sieveeditor_xmlprintingscriptbuilding(xmlprintingscriptbuildertest.cpp "" "") diff --git a/src/ksieveui/scriptsparsing/tests/CMakeLists.txt b/src/ksieveui/scriptsparsing/tests/CMakeLists.txt index a252039..99a1aaa 100644 --- a/src/ksieveui/scriptsparsing/tests/CMakeLists.txt +++ b/src/ksieveui/scriptsparsing/tests/CMakeLists.txt @@ -9,5 +9,9 @@ set(xmlsieveparsing_SRCS ) add_executable(xmlsieveparsing ${xmlsieveparsing_SRCS} ) -target_link_libraries(xmlsieveparsing KF5::KSieveUi KF5::KSieve KF5::I18n) - +target_link_libraries(xmlsieveparsing + KF5::KSieveUi + KF5::SyntaxHighlighting + KF5::KSieve + KF5::I18n +) -- 2.21.1 owmsg=1'>Expand)Author 2024-11-12tests: Fix gremlin.scm for GCC 14...* tests/gremlin.scm: Include stdio.h before using puts since GCC 14 no longer allows implicit declarations. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Ting-Wei Lan 2022-01-16tests: Fix file-needed/recursive on aarch64-linux....Fixes: <https://issues.guix.gnu.org/52943>. * tests/gremlin.scm (file-needed/recursive)[ground-truth]: On aarch64-linux, remove the dynamic linker from this list. Pierre Langlois 2022-01-14gremlin: Adjust tests for i686 and beyond....Fixes <https://issues.guix.gnu.org/52752>. Reported by Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>. * tests/gremlin.scm ("file-needed/recursive"): Augment the list of vDSO names. Ludovic Courtès 2022-01-08tests: Fix file-needed/recursive on powerpc64le-linux....Fixes: <https://issues.guix.gnu.org/52940>. * tests/gremlin.scm (file-needed/recursive): Consider two entries to be equivalent not when they are the same string, but rather when they refer to the same file. [ground-truth]: In addition to strings that begin with "linux-vdso.so", remove strings that begin with "linux-vdso64.so". Chris Marusich 2021-06-23tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty....* tests/gremlin.scm (file-needed/recursive): Skip the test when (file-runpath %guile-executable) evaluates to the empty list. This causes the test to be correctly skipped in the case where Guix has been built using a foreign distro's toolchain and libraries. Chris Marusich 2021-04-22gremlin: 'elf-dynamic-info' returns a file name rathern than a dynamic entry....* guix/build/gremlin.scm (elf-dynamic-info): Return the dynamic entry value, not the dynamic entry. * tests/gremlin.scm ("elf-dynamic-info-soname"): New test. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Dion Mendel 2020-12-01gremlin: Add 'file-needed/recursive'....* guix/build/gremlin.scm (file-needed/recursive): New procedure. * tests/gremlin.scm ("file-needed/recursive"): New test. Ludovic Courtès 2020-09-19gremlin: Add 'set-file-runpath', 'file-runpath', and 'file-needed'....* guix/build/gremlin.scm (file-dynamic-info, file-runpath, file-needed): New procedures. (&missing-runpath-error, &runpath-too-long-error): New condition types. (set-file-runpath): New procedure. * tests/gremlin.scm ("set-file-runpath + file-runpath"): New test. Ludovic Courtès