Repository navigation
🐛 Lead a stopped build's test errors with Ceedling's EXCEPTION - #30
Merged
Merged
Conversation
…stdout:" When Ceedling stops before running tests, every test errors with the whole transcript, and the Testing view showed only its first line, "stdout:". Ceedling's reason, e.g. an ambiguous file reference (Ceedling#1364), sat deep in the transcript. Each message now leads with the most severe compiler diagnostic, when problem matching found one, then Ceedling's EXCEPTION block, then the transcript. Fixtures capture Ceedling 1.2.1's decorated output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
When Ceedling stops before running any tests, every test errors with the whole transcript. The Testing view shows a message's first line, which was
stdout:. Ceedling's reason, such as the ambiguous file reference of Ceedling#1364 or of a 1.2.0 coverage run of same-named files, was buried in the transcript.Each message now leads with:
EXCEPTIONblock: its exception line, less any decorator emoji, plus the output it carries, such as compiler errors, up to the closingcould not complete operationsline;Changes
extractCeedlingException()inceedlingOutputParsing.ts. It reads stderr first, then stdout.tests/fixtures/ceedling-1.2.1/: an ambiguous reference and a compiler failure, captured with decorators on.Verification
just test: 469 unit and 18 integration tests pass.just lint: 0 findings.EXCEPTION: Ambiguous file reference 'test_calc.c' found. ….🤖 Generated with Claude Code