summaryrefslogtreecommitdiff
path: root/tools/patman/test_util.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-06-14 10:54:05 -0600
committerSimon Glass <sjg@chromium.org>2020-07-09 18:57:22 -0600
commit4148c20f533d908a4255c134601b335322a0d38f (patch)
tree3277f328e58a73bc5ea2ec49d70fe81edcc0b8ff /tools/patman/test_util.py
parent40d9734cb17897329389230c7ebd9502c95c899b (diff)
patman: Add a test for the 'possible new uclass' check
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. Add a simple new class that can generate a patch with a single-line addition in it. Use that to add a test for one of the checkpatch checks. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/test_util.py')
0 files changed, 0 insertions, 0 deletions