Skip to content

Resoving UT failures#24

Open
Nithishkumar-T wants to merge 1 commit into
developfrom
feature/resolve_ut_failure
Open

Resoving UT failures#24
Nithishkumar-T wants to merge 1 commit into
developfrom
feature/resolve_ut_failure

Conversation

@Nithishkumar-T
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 5, 2026 07:03
@Nithishkumar-T Nithishkumar-T requested review from a team as code owners May 5, 2026 07:03
Copy link
Copy Markdown

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

This PR updates the unit-test runner to use the GitHub-hosted gmock-broadband dependency and to build/run discovered gtest binaries generically instead of invoking a single fixed test binary. It fits into the repo’s CI path by changing how source/test/run_ut.sh prepares dependencies and executes UTs.

Changes:

  • Switches RdkbGMock checkout/fetch logic from Gerrit change refs to GitHub develop/PR refs.
  • Replaces the single make -C source/test + snmp_subagent_gtest.bin execution path with a generic loop over discovered Makefile directories and .bin executables.
  • Cleans up header/license text and minor log-message formatting in the UT script.

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

Comment thread source/test/run_ut.sh
Comment on lines +140 to +141
"$bin_file"
log "INFO" "Completed Test Execution for $(basename "$bin_file")"
Comment thread source/test/run_ut.sh
else
log "INFO" "No change number/revision provided, skipping git fetch and cherry-pick."
log "INFO" "No PR ID provided. Fetching latest from branch: develop"
if git fetch "https://github.com/rdkcentral/gmock-broadband.git" develop && git checkout develop; then
Comment thread source/test/run_ut.sh
Comment on lines +142 to +143
else
log "ERROR" "$(basename "$bin_file") is not executable, skipping"
@rdkcmf-jenkins
Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/snmp-protocol-agent/24/rdkb/components/opensource/ccsp/CcspSnmpPa

  • Commit: b6f9dd5

Report detail: gist'

@rdkcmf-jenkins
Copy link
Copy Markdown
Contributor

b'## WARNING: A Blackduck scan failure has been waived

A prior failure has been upvoted

  • Upvote reason: ok

  • Commit: b6f9dd5
    '

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