From e21c515817eacc49422d9bb651894a2e724414dc Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 29 Oct 2020 21:46:12 -0600 Subject: [PATCH] patman: Update how tests are run The current instructions are out-of-date. Fix them. Signed-off-by: Simon Glass --- tools/patman/README | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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. -- 2.39.5