patman: Add tests for U-Boot-specific checkpatch checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | patman: Rename test.py to test_checkpatch.pytools/ tools/ | +5 | 0 replies | |
| 1/5 | patman: Rename test.py to test_checkpatch.py | +0 | 0 replies | |
| 2/5 | patman: Add a test for the 'possible new uclass' checktools/ | +77 | 0 replies | |
| 2/5 | patman: Add a test for the 'possible new uclass' check | +0 | 0 replies | |
| 3/5 | patman: Decode output from the '--show-types' optiontools/ tools/ | +17 | 0 replies | |
| 3/5 | patman: Decode output from the '--show-types' option | +0 | 0 replies | |
| 4/5 | patman: Add tests for the rest of the checkpatch checkstools/ | +43 | 0 replies | |
| 4/5 | patman: Add tests for the rest of the checkpatch checks | +0 | 0 replies | |
| 5/5 | checkpatch: Don't warn about PREFER_IF in headers/DT filesscripts/ tools/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] patman: Add tests for U-Boot-specific checkpatch checks
It is quite likely that the number of U-Boot-specific tests in checkpatch.pl will increase over time. We should have tests for these to avoid undefined behaviour and bugs being introduced, which might cause people to ignore the warnings.
This series adds the tests and modifies one check to be more specific.
Simon Glass (5):
patman: Rename test.py to test_checkpatch.py
patman: Add a test for the 'possible new uclass' check
patman: Decode output from the '--show-types' option
patman: Add tests for the rest of the checkpatch checks
checkpatch: Don't warn about PREFER_IF in headers/DT files
scripts/checkpatch.pl | 2 +-
tools/patman/checkpatch.py | 24 ++--
tools/patman/main.py | 4 +-
tools/patman/{test.py => test_checkpatch.py} | 125 ++++++++++++++++++-
4 files changed, 139 insertions(+), 16 deletions(-)
rename tools/patman/{test.py => test_checkpatch.py} (69%)Signature · 1 line
2.27.0.290.gba653c62da-goog