Skip to content

RDKEMW-14533: Coverity inclusion changes#73

Open
PreethiLakshmi91 wants to merge 1 commit into
rdkcentral:developfrom
PreethiLakshmi91:RDKEMW-14533_Cov_f
Open

RDKEMW-14533: Coverity inclusion changes#73
PreethiLakshmi91 wants to merge 1 commit into
rdkcentral:developfrom
PreethiLakshmi91:RDKEMW-14533_Cov_f

Conversation

@PreethiLakshmi91
Copy link
Copy Markdown

Reason for change: Inclusion of coverity for BT
Test Procedure: NA
Risks: Low
Priority: P2

Reason for change: Inclusion of coverity for BT
Test Procedure: NA
Risks: Low
Priority: P2

Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
Copilot AI review requested due to automatic review settings June 1, 2026 15:02
@PreethiLakshmi91 PreethiLakshmi91 requested a review from a team as a code owner June 1, 2026 15:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a native CI build path (intended for Coverity inclusion) by introducing dependency/bootstrap scripts and a GitHub Actions workflow to build BT-Core in a clean Ubuntu environment.

Changes:

  • Added build_dependencies.sh to install packages and stage external headers/libs needed for building.
  • Added cov_build.sh to bootstrap autotools, configure, and build the component.
  • Added .github/workflows/native_full_build.yml to run the above scripts on PRs/pushes to develop.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
build_dependencies.sh Installs build deps, stages telemetry + BlueZ headers, and builds a telemetry stub shared library.
cov_build.sh Runs autotools bootstrap, configures with staged includes/libs, and builds targets.
.github/workflows/native_full_build.yml New GitHub Actions workflow to run dependency setup + native build on ubuntu-latest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread build_dependencies.sh
Comment on lines +25 to +33
cat << 'EOF' > telemetry_stub.c
int t2_init(void) { return 0; }
int t2_event_s(const char* n, const char* v) { return 0; }
int t2_event_f(const char* n, float v) { return 0; }
int t2_event_d(const char* n, double v) { return 0; }
EOF

gcc -shared -fPIC telemetry_stub.c \
-o ${WORKSPACE}/external/lib/libtelemetry_msgsender.so
Comment thread build_dependencies.sh
Comment on lines +15 to +17
echo "Setting up telemetry stub..."

git clone https://github.com/rdkcentral/telemetry.git
Comment thread build_dependencies.sh
Comment on lines +35 to +37
echo "Setting up BlueZ legacy headers..."

git clone https://github.com/bluez/bluez.git
Comment thread cov_build.sh
export CXXFLAGS="-Wno-error"
export LD_LIBRARY_PATH="${WORKSPACE}/external/lib"

ac_cv_header_telemetry_busmessage_sender_h=yes ./configure
Comment thread cov_build.sh
Comment on lines +26 to +27
make -C src/bt-ifce -j$(nproc)
make -C src -j$(nproc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants