aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-29 21:46:12 -0600
committerSimon Glass <sjg@chromium.org>2020-11-05 09:11:31 -0700
commite21c515817eacc49422d9bb651894a2e724414dc (patch)
tree62571210ad1d366f4d42e6976a5bc44f99a810d1
parentbd73bb447ffc11f0fbc567e9edc785f98f5ab673 (diff)
downloadu-boot-e21c515817eacc49422d9bb651894a2e724414dc.tar.gz
patman: Update how tests are run
The current instructions are out-of-date. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--tools/patman/README8
1 files 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.