D14817: Convert manual install test to an autotest
Ralf Habacker
noreply at phabricator.kde.org
Tue Aug 14 22:10:17 BST 2018
habacker added a comment.
In D14817#308903 <https://phabricator.kde.org/D14817#308903>, @ltoscano wrote:
> This worked with Qt 5.9 on the CI and locally with 5.10 too, but the CI seems to be unhappy for openSUSE/Qt 5.10 and Windows/Qt 5.10 (it works on openSUSE/Qt 5.9 and FreeBSD/Qt 5.10):
>
> - https://build.kde.org/job/Frameworks%20kdoctools%20kf5-qt5%20SUSEQt5.10/46/
14:08:13 Scanning dependencies of target po-es-docs-foobar-index-cache-bz2
14:08:13 [ 8%] Generating po/es/docs/foobar/index.cache.bz2
14:08:13 gmake[2]: *** [CMakeFiles/po-es-docs-foobar-index-cache-bz2.dir/build.make:62: po/es/docs/foobar/index.cache.bz2] Error 1
14:08:13 gmake[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/po-es-docs-foobar-index-cache-bz2.dir/all] Error 2
14:08:13 gmake: *** [Makefile:130: all] Error 2
reason not visible - I suggest to add VERBOSE=1 to the related make comment
> - https://build.kde.org/job/Frameworks%20kdoctools%20kf5-qt5%20WindowsMSVCQt5.10/35/
14:11:43 Test command failed: C:/Craft/CI/windows-msvc2017_64-cl-debug/dev-utils/cmake/bin/cmake.exe
14:11:43 CMake Error at C:/CI/workspace/Frameworks kdoctools kf5-qt5 WindowsMSVCQt5.10/autotests/kdoctools-install/test.cmake:20 (message):
14:11:43 destdir/share/man/man1/checkXML5.1 was not found
This may be caused by not specifing an absolute path in test.cmake e.g.
-set(MANPATH destdir/share/man)
-set(HTMLPATH destdir/share/doc/HTML)
+set(MANPATH ${CMAKE_INSTALL_PREFIX}/destdir/share/man)
+set(HTMLPATH ${CMAKE_INSTALL_PREFIX}/destdir/share/doc/HTML)
---test-command ${CMAKE_COMMAND} -P "${CMAKE_CURRENT_SOURCE_DIR}/kdoctools-install/test.cmake
+--test-command ${CMAKE_COMMAND} "-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/kdoctools-install/destdir" -P "${CMAKE_CURRENT_SOURCE_DIR}/kdoctools-install/test.cmake"
> - https://build.kde.org/job/Frameworks%20kdoctools%20kf5-qt5%20FreeBSDQt5.10/
#16 Aug 14, 2018 2:07 PM
Finished: SUCCESS
no issue visible -> tests are disabled
> - https://build.kde.org/job/Frameworks%20kdoctools%20kf5-qt5%20SUSEQt5.9/32/
#32 Aug 14, 2018 2:07 PM
Finished: SUCCESS
no issue visible -> tests are disabled
REPOSITORY
R238 KDocTools
REVISION DETAIL
https://phabricator.kde.org/D14817
To: habacker, ltoscano
Cc: kde-frameworks-devel, ltoscano, kde-doc-english, michaelh, ngraham, bruns, skadinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180814/0703ec3a/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list