From: Simon Glass Date: Fri, 30 Oct 2020 03:46:12 +0000 (-0600) Subject: patman: Update how tests are run X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=e21c515817eacc49422d9bb651894a2e724414dc;p=u-boot.git patman: Update how tests are run The current instructions are out-of-date. Fix them. Signed-off-by: Simon Glass --- diff --git a/tools/patman/README b/tools/patman/README index 52b2cf70bd..7ede1068ee 100644 --- a/tools/patman/README +++ b/tools/patman/README @@ -533,12 +533,10 @@ Most of these are indicated by a TODO in the code. It would be nice if this could handle the In-reply-to side of things. -The tests are incomplete, as is customary. Use the --test flag to run them, -and make sure you are in the tools/patman directory first: +The tests are incomplete, as is customary. Use the 'test' subcommand to run +them: - $ cd /path/to/u-boot - $ cd tools/patman - $ ./patman --test + $ tools/patman/patman test Error handling doesn't always produce friendly error messages - e.g. putting an incorrect tag in a commit may provide a confusing message.