Skip to content

Conversation

smuppand
Copy link
Contributor

  • Replaced all fail_and_exit and early exit paths with proper .res file creation (PASS, FAIL, or SKIP)

  • Made RES_FILE path absolute to avoid issues caused by cd or relative directory changes

  • Added a final fallback check to ensure .res is created before exiting

  • Ensures LAVA and test harnesses can always rely on result presence for this test

@smuppand smuppand requested a review from vnarapar July 28, 2025 12:44
@vnarapar
Copy link
Contributor

vnarapar commented Jul 28, 2025

can you remove fail_and_exit from adsp_remoteproc and cdsp_remoteproc aswell

- Replaced usage of `fail_and_exit` with explicit logging and .res file creation
- Ensures that all failure exit paths write the expected result file (e.g., wpss_remoteproc.res)
- Fixes issue where send-to-lava.sh reports missing result file due to early script exit without writing status
- Also avoids silent test failures being marked incomplete by CI infrastructure

Signed-off-by: Srikanth Muppandam <[email protected]>
@smuppand
Copy link
Contributor Author

can you remove fail_and_exit from adsp_remoteproc and cdsp_remoteproc aswell

As per your request, I have removed the fail_and_exit from both the adsp and cdsp_remoteproc tests.

Copy link
Contributor

@vnarapar vnarapar left a comment

Choose a reason for hiding this comment

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

LGTM

@vnarapar vnarapar merged commit c145f7d into qualcomm-linux:main Jul 29, 2025
7 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