From 9e096fa98205a2bf19db06ef06da5a4b2261ee8d Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Thu, 31 Aug 2017 09:37:21 +0100 Subject: [PATCH] [functional-tests] Improve help for run-tests --- functional-tests/run-tests | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/functional-tests/run-tests b/functional-tests/run-tests index 73d0d0c..7a28cfe 100755 --- a/functional-tests/run-tests +++ b/functional-tests/run-tests @@ -76,7 +76,20 @@ (define (exec-help) (fmt (current-error-port) - (dsp "here's some helpful help\n"))) + "Usage:" nl + " run-tests help" nl + " run-tests list *" nl + " run-tests run [--disable-unlink] *" nl nl + (justify + (string-append + "Patterns are used to select tests. There are two forms a pattern can take; " + "either a literal such as 'cache-check/bad-option', or a regular expression (prefix with 're:').")) + nl + "eg," nl + " run-tests run cache-check/bad-option" nl + " run-tests run re:help" nl + " run-tests run cache-check thin-check re:.*missing.*file" nl + )) (define (exec-run args) (let ((pred (mk-filter args)))