]> git.dujemihanovic.xyz Git - u-boot.git/commit
checkpatch.pl: Add a check for tests needed for uclasses
authorSimon Glass <sjg@chromium.org>
Fri, 22 May 2020 22:32:37 +0000 (16:32 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jun 2020 22:10:02 +0000 (18:10 -0400)
commit281236c728be2b26474fe4bfa0e53cc4c5782617
tree08bfbf8f52a6af55eb11b11dbee96b5208847ded
parentb77df5980c3e24e34e0db3a52c5bce396a81c430
checkpatch.pl: Add a check for tests needed for uclasses

A common problem when submitting a new uclass is to forget to add sandbox
tests. Add a warning for this.

Of course tests should always be added for new code, but this one seems to
be missed by nearly every new contributor.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl