ECMAddTests: set QT_PLUGIN_PATH so locally built plugins can be found
ClosedPublic

Authored by dfaure on Nov 5 2017, 8:50 AM.

Details

Summary

This of course requires running the unittests via ctest rather than
launching the executable directly.

Test Plan

ctest -V -R kurifiltertest in kio, which prints QCoreApplication::libraryPaths() at the beginning of the test.
With this commit, builddir/kio/bin is added at the front of the list, and the kurifilter plugins from kio's build are loaded.

Diff Detail

Repository
R240 Extra CMake Modules
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.Nov 5 2017, 8:50 AM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptNov 5 2017, 8:50 AM
dfaure updated this revision to Diff 21894.Nov 5 2017, 9:02 AM

now with the right patch...

krop accepted this revision.Nov 5 2017, 11:05 AM

+1. Tested with a few repo without noticing any regression.

This revision is now accepted and ready to land.Nov 5 2017, 11:05 AM
This revision was automatically updated to reflect the committed changes.