-
Notifications
You must be signed in to change notification settings - Fork 29.7k
More helpful test.dart output #140175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More helpful test.dart output #140175
Conversation
765d8ea to
2054d72
Compare
dev/bots/run_command.dart
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This omits output if it is longer than 10 characters? That seems a bit short? (used to be 10 lines) (we really should have a test for this...)
Also, should we continue to log that output was omitted because it was too long?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops yeah the 10 characters thing was definitely a mistake. i'll see if it's testable.
i removed the log saying it was too long because it's just kind of superfluous. in practice it doesn't really help anything as far as i can tell. it's not like the reader is looking for the output, they'll just go find the original logs anyway.
|
I made it 512 characters instead of 10. it's not the same as 10 lines but it's probably roughly equivalent. |
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Slightly.
Each error section is numbered, so you can all be sure you're talking about the same one.
A message is printed at the very end telling you how to find the error blocks in the verbose logs.