Skip to content

fix(test): Skip P2P checks when ECAM is absent. - #437

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
Sujana-M:main
Jun 16, 2026
Merged

fix(test): Skip P2P checks when ECAM is absent.#437
chetan-rathore merged 1 commit into
ARM-software:mainfrom
Sujana-M:main

Conversation

@Sujana-M

Copy link
Copy Markdown
Contributor
  • PCIe P2P-related tests queried platform P2P capability before checking whether any ECAM region was present. On platforms without ECAM, this could report WARNING from PAL-not-implemented paths instead of treating the test as not applicable.
  • Treat platforms without P2P support as not skip.
  • Correct test status flow so skip and fail outcomes are not overwritten by later status updates. Add explicit control flow for skip/fail paths and make final pass reporting conditional on no prior terminal result.
  • This prevents tests from incorrectly reporting PASS/SKIP after an earlier failure or skip condition was detected.

Change-Id: Ie62b130b03aecb31d6725566e51b04696b0951a9

- PCIe P2P-related tests queried platform P2P capability before
  checking whether any ECAM region was present. On platforms without
  ECAM, this could report WARNING from PAL-not-implemented paths instead
  of treating the test as not applicable.
- Treat platforms without P2P support as not skip.
- Correct test status flow so skip and fail outcomes are not overwritten
  by later status updates. Add explicit control flow for skip/fail paths
  and make final pass reporting conditional on no prior terminal result.
- This prevents tests from incorrectly reporting PASS/SKIP after an earlier
  failure or skip condition was detected.

Signed-off-by: Sujana M <sujana.murali@arm.com>
Change-Id: Ie62b130b03aecb31d6725566e51b04696b0951a9
@chetan-rathore
chetan-rathore merged commit a11c3a4 into ARM-software:main Jun 16, 2026
29 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.

2 participants