Skip to content
Snippets Groups Projects
Commit 99adf6ed authored by Vadim Bendebury's avatar Vadim Bendebury Committed by Simon Glass
Browse files

patman: Allow use outside of u-boot tree


To make it usable in git trees not providing a patch checker
implementation, add a command line option, allowing to suppress patch
check. While we are at it, sort debug options alphabetically.

Also, do not raise an exception if checkpatch.pl is not found - just
print an error message suggesting to use the new option, and return
nonzero status.

   . unit test passes:
    $ ./patman  -t
    <unittest.result.TestResult run=7 errors=0 failures=0>
   . successfully used patman in the autotest tree to generate a patch
     email (with --no-check option)
   . successfully used patman in the u-boot tree to generate a patch
     email
   . `patman --help' now shows command line options ordered
     alphabetically

Signed-off-by: default avatarVadim Bendebury <vbendeb@chromium.org>
Acked-by: default avatarDoug Anderson <dianders@chromium.org>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 656cffeb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment