D14817: Convert manual install test to an autotest

Ralf Habacker noreply at phabricator.kde.org
Wed Aug 15 10:07:37 BST 2018


habacker added a comment.


  Because test.qmake do not anything about KDE  install path layout those pathes need to be specified in the ctest config in autotests/CMakeLists.txt I guess
  
    --test-command ${CMAKE_COMMAND}
        "-DKDE_INSTALL_MANDIR=${KDE_INSTALL_MANDIR}"
        "-DKDE_INSTALL_DOCBUNDLEDIR=${KDE_INSTALL_DOCBUNDLEDIR}"
        "-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/kdoctools-install/destdir"
        -P "${CMAKE_CURRENT_SOURCE_DIR}/kdoctools-install/test.cmake")
  
  and in test.qmake
  
    ...
    set(MANPATH ${CMAKE_INSTALL_PREFIX}/${KDE_INSTALL_MANDIR})
    set(HTMLPATH ${CMAKE_INSTALL_PREFIX}/${KDE_INSTALL_DOCBUNDLEDIR})
     ...

REPOSITORY
  R238 KDocTools

REVISION DETAIL
  https://phabricator.kde.org/D14817

To: habacker, ltoscano
Cc: bcooksley, 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-doc-english/attachments/20180815/176650e0/attachment-0001.html>


More information about the kde-doc-english mailing list