Bug 389023

Summary: Omit building tests for pulled-in dependencies
Product: [Developer tools] kdesrc-build Reporter: Michael Heidelbach <ottwolt>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED WORKSFORME    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael Heidelbach 2018-01-15 19:16:03 UTC
It would be really nice to have a switch to omit building the tests for the dependencies.
For e.g. kate build time would be ca. 50%.
Comment 1 Michael Pyne 2018-01-19 01:41:58 UTC
Try setting the `run-tests` option to 0 (or false) as a global setting, and then if you want to run tests for the specific module you are interested in, you can set `run-tests` to `true` for that module specifically.  See also https://docs.kde.org/trunk5/en/extragear-utils/kdesrc-build/conf-options-table.html#conf-run-tests

You would need to rebuild the affected modules using at least the --reconfigure commandline argument to kdesrc-build (so that CMake is re-run), but if that doesn't work then please reopen as that would then be a bug instead of a feature request ;).