[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45948] [PATCH 2/5] build: test-driver.scm: Define the --test-name o
From: |
Maxim Cournoyer |
Subject: |
[bug#45948] [PATCH 2/5] build: test-driver.scm: Define the --test-name option as required. |
Date: |
Mon, 18 Jan 2021 01:24:57 -0500 |
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.
---
build-aux/test-driver.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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))
--
2.29.2