From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Anderson Date: Thu, 4 Sep 2014 11:57:40 -0700 Subject: [U-Boot] [PATCH v2] patman: make run results better visible In-Reply-To: <1409852713-17291-1-git-send-email-vbendeb@chromium.org> References: <1409771803-21683-1-git-send-email-vbendeb@chromium.org> <1409852713-17291-1-git-send-email-vbendeb@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Vadim, On Thu, Sep 4, 2014 at 10:45 AM, Vadim Bendebury wrote: > For an occasional user of patman some failures are not obvious: for > instance when checkpatch reports warnings, the dry run still reports > that the email would be sent. If it is not dry run, the warnings are > shown on the screen, but it is not clear that the email was not sent. > > Add some code to report failure to send email explicitly. > > Tested by running the script on a patch with style violations, > observed error messages in the script output. > > Signed-off-by: Vadim Bendebury > --- > > Changes in v2: > - modified the error message for accuracy > > tools/patman/patman.py | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Reviewed-by: Doug Anderson