Skip to content

Gate hw-unsupported commands behind emu - #693

Merged
Wenbo Yuan (wenbo-yuan) merged 1 commit into
Azure:mainfrom
wenbo-yuan:wenboy/fix
Sep 8, 2026
Merged

Gate hw-unsupported commands behind emu#693
Wenbo Yuan (wenbo-yuan) merged 1 commit into
Azure:mainfrom
wenbo-yuan:wenboy/fix

Conversation

@wenbo-yuan

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 3, 2026 01:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change aligns with existing test-suite patterns for emu-only command coverage and is a minimal, low-risk gating adjustment.

Pull request overview

This PR gates TBOR integration tests for GetCertificate and GetCertChainInfo behind the emu feature so they do not compile/run in non-emulator test regimes (e.g., real-silicon runs with no backend feature enabled).

Changes:

  • Added #![cfg(feature = "emu")] at the crate/module level to the get_cert test module.
  • Added #![cfg(feature = "emu")] at the crate/module level to the get_cert_chain_info test module.
File summaries
File Description
ddi/tbor/types/tests/commands/get_cert.rs Gates GetCertificate TBOR command integration tests behind the emu feature.
ddi/tbor/types/tests/commands/get_cert_chain_info.rs Gates GetCertChainInfo TBOR command integration tests behind the emu feature.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@wenbo-yuan
Wenbo Yuan (wenbo-yuan) added this pull request to the merge queue Sep 5, 2026
@radutta99
Rajib Dutta (radutta99) removed this pull request from the merge queue due to a manual request Sep 5, 2026
@wenbo-yuan
Wenbo Yuan (wenbo-yuan) added this pull request to the merge queue Sep 8, 2026
Merged via the queue into Azure:main with commit 3e4d326 Sep 8, 2026
40 of 41 checks passed
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