Bug 389023 - Omit building tests for pulled-in dependencies
Summary: Omit building tests for pulled-in dependencies
Status: RESOLVED WORKSFORME
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 19:16 UTC by Michael Heidelbach
Modified: 2018-01-19 01:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;).