Repository navigation
Fix test summary output and upload test logs - #434
Merged
Merged
Conversation
zichguan-amd
force-pushed
the
zichguan/fix-test-summary
branch
4 times, most recently
from
March 5, 2026 17:49
ef4ec54 to
bbc03d0
Compare
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
zichguan-amd
force-pushed
the
zichguan/fix-test-summary
branch
from
March 5, 2026 18:18
bbc03d0 to
ff68c83
Compare
sshi-amd
added a commit
to sshi-amd/rocm-examples
that referenced
this pull request
Mar 11, 2026
Cherry-picked from upstream ROCm/rocm-examples@51c78864. Improves test failure reporting in CI summary and uploads test logs as artifacts for debugging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Test summary only checked for
FAILEDtests, but ctest also outputsSIGFAULTorExceptionfor other failures. Use theLastTest.loglog file generated by CTest for better summary output.Technical Details
Example
LastTest.loglog for a failed test that shows asSubprocess aborted***Exceptioninstead of Failed in the test output. The log file always writesTest Failed.orTest Passed.so we can reliably use that as a condition for end of a test log block.Test Plan
Test Result
Added/Updated documentation?
Included Visual Studio files?
Submission Checklist