[U-Boot] [PATCH] patman: Allow use outside of u-boot tree

2013-01-09 Thread Vadim Bendebury
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. . unit test passes: $ ./patman -t unittest.result.TestResult run=7 errors=0 failures=0 .

Re: [U-Boot] [PATCH] patman: Allow use outside of u-boot tree

2013-01-09 Thread Vadim Bendebury
On Wed, Jan 9, 2013 at 2:01 PM, Vadim Bendebury vben...@chromium.org wrote: 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. . unit test passes:

Re: [U-Boot] [PATCH] patman: Allow use outside of u-boot tree

2013-01-09 Thread Vadim Bendebury
On Wed, Jan 9, 2013 at 2:57 PM, Doug Anderson diand...@chromium.org wrote: Vadim, On Wed, Jan 9, 2013 at 2:07 PM, Vadim Bendebury vben...@chromium.org wrote: +parser.add_option('--no-check', action='store_true', dest='no_check', + default=False, + help=Don't

Re: [U-Boot] [PATCH] patman: Allow use outside of u-boot tree

2013-01-09 Thread Doug Anderson
Vadim, On Wed, Jan 9, 2013 at 2:07 PM, Vadim Bendebury vben...@chromium.org wrote: +parser.add_option('--no-check', action='store_true', dest='no_check', + default=False, + help=Don't check for patch compliance) IMHO It would be slightly better to use

[U-Boot] [PATCH] patman: Allow use outside of u-boot tree

2013-01-09 Thread Vadim Bendebury
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