fix(cov_docker_script): disable dbus tests for CMake 3.17 - #30
Open
pavankumar464 wants to merge 2 commits into
Open
fix(cov_docker_script): disable dbus tests for CMake 3.17#30pavankumar464 wants to merge 2 commits into
pavankumar464 wants to merge 2 commits into
Conversation
The dbus dependency build was failing during CMake configuration because dbus 1.16.2 uses file(CHMOD ...) in its test setup macros, which requires CMake 3.19 while the CI environment provides CMake 3.17. Add -DENABLE_TESTS=OFF to the dbus cmake_flags in component_config.json so test/CMakeLists.txt is skipped during configuration. This avoids the unsupported file(CHMOD ...) path while still allowing the dbus library and headers to build and install as required by the dependency setup.
|
📋 PR Format Reminder
Expected: |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Coverity/native dependency build configuration to avoid a CMake-version incompatibility when configuring the dbus dependency in CI (CMake 3.17), by skipping dbus’s test configuration.
Changes:
- Add
-DENABLE_TESTS=OFFto thedbuscmake_flagsincov_docker_script/component_config.jsonto prevent configuring/building dbus tests.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dbus dependency build was failing during CMake configuration because dbus 1.16.2 uses file(CHMOD ...) in its test setup macros, which requires CMake 3.19 while the CI environment provides CMake 3.17.
Add -DDBUS_BUILD_TESTS=OFF to disable test builds for the D-Bus dependency.