On samedi 9 septembre 2017 14:15:53 CEST no-re...@kde.org wrote: > URL https://build.kde.org/job/Frameworks%20extra-cmake-modules%20kf5-qt5%20 > FreeBSDQt5.7/54/ Project: Frameworks extra-cmake-modules kf5-qt5 > FreeBSDQt5.7 > Name: (root) Failed: 1 test(s), Passed: 49 test(s), Skipped: 0 test(s), > Total: 50 test(s) Failed: TestSuite.KDEInstallDirsTest.relative_or_absolute
Any idea why ctest -R KDEInstallDirsTest.relative_or_absolute passes on Linux and fails on FreeBSD with this error? "Installing in the same prefix as Qt, adopting their path scheme. CMake Error at /usr/home/jenkins/workspace/Frameworks extra-cmake-modules kf5-qt5 FreeBSDQt5.7/tests/test_helpers.cmake:52 (message): KDE_INSTALL_PLUGINDIR (/usr/local/lib/qt5/plugins) should be a relative path, but is absolute. Call Stack (most recent call first): CMakeLists.txt:21 (assert_var_relative_path) " On Linux the attached patch shows (on my system) KDE_INSTALL_QTPLUGINDIR=lib64/plugins when doing $ cd <builddir>/tests/KDEInstallDirsTest/relative_or_absolute $ cmake . Can anyone debug this on FreeBSD ? -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5
diff --git i/tests/KDEInstallDirsTest/relative_or_absolute/CMakeLists.txt w/tests/KDEInstallDirsTest/relative_or_absolute/CMakeLists.txt index 1a7a7e7..5348f23 100644 --- i/tests/KDEInstallDirsTest/relative_or_absolute/CMakeLists.txt +++ w/tests/KDEInstallDirsTest/relative_or_absolute/CMakeLists.txt @@ -15,6 +15,7 @@ if(APPLE) endif() foreach(suffix ${var_suffixes}) + message("KDE_INSTALL_${suffix}=" ${KDE_INSTALL_${suffix}}) if(${suffix}_should_be_absolute) assert_var_absolute_path(KDE_INSTALL_${suffix}) else()