Conversation
1612607 to
e460097
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19073 +/- ##
=======================================
Coverage 98.47% 98.47%
=======================================
Files 176 176
Lines 22811 22811
=======================================
Hits 22463 22463
Misses 348 348 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The failing test I think is a intermittent glitch: This is a little less comprehensive than I would have liked. There are trailing spaces in some But those other test directories are not marked as In addition: contain trailing spaces as input. Not so terrible, but again they're invisble |
b454dea to
e0a2723
Compare
|
There was some CI failure in the latest run which I think will go away on a re-run (which I can't invoke without another push). |
For I think
I think it's safe to modify the test for this so it doesn't print a space at the end. Eg some logic that doesn't print
As above, could modify this test to not print out a space at the end of the line. I didn't check the other |
c15616b to
ccf57f8
Compare
|
Ready for re-review (though I think one test is stuck).
In the long run, I wonder if it would be easier to mark regexp |
dpgeorge
left a comment
There was a problem hiding this comment.
Thanks for making this more comprehensive, it looks really good now. Definitely better to be explicit about whitespace.
Yes, that sounds like a good idea! |
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
Signed-off-by: Dan Halbert <halbert@halwitz.org>
f335f20 to
d598019
Compare
|
@dpgeorge I think I addressed all your review remarks. One test failed in the unix qemu_arm job: |
|
Two more tests are stuck on web fetches. I think a re-run is in order. |
Signed-off-by: Dan Halbert <halbert@halwitz.org>
236978e to
2f9da6e
Compare
dpgeorge
left a comment
There was a problem hiding this comment.
Thanks for updating, looks good!
Summary
Necessary trailing spaces in
tests/**/*.py.expfiles are not visible to the naked eye and may be removed by an editor if the file is edited manually. These changes protect those trailing spaces from accidental removal and make their presence visible by suffixing them with the regexp construct\$.I'll note there are still plenty of (unnecessary) trailing spaces elsewhere: in shell scripts, various C files (maybe third-party). A pass was made to remove those in #13777, but some still remain.
Testing
CI testing will run the tests to verify these changes are OK
Generative AI
I did not use generative AI tools when creating this PR.