| Summary: | Disable building testing if chai-PythonModule is not found | ||
|---|---|---|---|
| Product: | [Applications] drkonqi | Reporter: | Jure Repinc <jlp> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | wishlist | CC: | sitter |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | cmake.log | ||
You should explicitly build with -DBUILD_TESTING=OFF rather than the build implicitly disabling stuff. I think you just need to add the option to kdesrcbuildrc's cmake options |
Created attachment 163994 [details] cmake.log SUMMARY I tried to build DrKonqi via kdesrc-build (as part of workspace build) and since I do not have chai-PythonModule module installed it failed with an error. STEPS TO REPRODUCE 1. have a system without chai-PythonModule 2. try to build drkonqi, e.g. with kdesrc-build OBSERVED RESULT The build failed with error: -- The following REQUIRED packages have not been found: * chai-PythonModule, Python module chai is required for testing. EXPECTED RESULT Maybe the testing build could automatically be disabled also if chai is not found, and it could continue building the rest without it.