T10547: Make helpers in LIBEXEC testable, make LIBEXEC runtime settable
Stefan Brüns
noreply at phabricator.kde.org
Fri Mar 1 19:51:14 GMT 2019
bruns created this task.
TASK DESCRIPTION
While pathes to executables (PATH) and plugins (QT_PLUGIN_PATHS) can be adjusted, LIBEXEC is hardcoded, see e.g.:
https://community.kde.org/Frameworks/Porting_Notes/KStandardDirs
> KStandardDirs::findExe (and the use of the "exe" resource) can be ported to QStandardPaths::findExecutable, except when the executable comes from libexec, in which case the path should just be hardcoded using CMAKE_INSTALL_PREFIX "/" LIBEXEC_INSTALL_DIR.
This makes it impossible to test any private helpers without installing them. Worse, this may give false positives are hide errors when running tests from inside the build directory.
TASK DETAIL
https://phabricator.kde.org/T10547
To: bruns
Cc: #frameworks, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190301/2f87fea6/attachment.html>
More information about the Kde-frameworks-devel
mailing list