tests: support v -silent in the remaining test runners as well; note it in AGENTS.md#26590
Merged
spytheman merged 1 commit intoFeb 13, 2026
Conversation
…e it in AGENTS.md
Contributor
|
Great job! |
cestef
pushed a commit
to cestef/v
that referenced
this pull request
Mar 9, 2026
…e it in AGENTS.md (vlang#26590)
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.
Goal
This PR adds support for a -silent option, to easily reduce the amount of produced output of most test runners. The output, affects directly the amount of context that AI models have to process, so in many cases, reducing it (without losing important details), may allow smaller models to work better, and to avoid hitting the quota limits of larger ones.
Motivation
I've noticed that before,
./v vlib/v/compiler_errors_test.vconsumed ~1% of my weekly quota with codex, due to it producing slightly above 132KB because of the progress messages printed for each processed .vv/.out pair, even if the corresponding test passed.For a human, the progress messages are helpful, and the amount of them is easy to ignore, since they are printed in place (overwriting the last line). An AI agent monitoring the process, however will consume all of them...
Result
Now
./v -silent vlib/v/compiler_errors_test.vwhen everything is OK, produces: