Message ID | 20210118062501.27022-2-maxim.cournoyer@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | Improvements to the Automake SRFI 64 test driver. | expand |
Hello, Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > This is clearer than failing to open an empty string file name, when the > option is not provided. > > * build-aux/test-driver.scm (%options)[test-name]: Set the required? property > to #t. I just noticed this doesn't play well with the --help or --version options. So this patch should be dropped. Thanks, Maxim
diff --git a/build-aux/test-driver.scm b/build-aux/test-driver.scm index b7622c3ed2..5891631da6 100644 --- a/build-aux/test-driver.scm +++ b/build-aux/test-driver.scm @@ -39,7 +39,7 @@ The '--test-name', '--log-file' and '--trs-file' options are mandatory.\n")) (define %options - '((test-name (value #t)) + '((test-name (value #t) (required? #t)) (log-file (value #t)) (trs-file (value #t)) (color-tests (value #t))