aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/run-tests.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-11-17 10:06:42 +0000
committerJustus Winter <[email protected]>2016-12-13 14:09:26 +0000
commitd43dabf4607d3bcfc217eb9aea34d093f5aa698f (patch)
treebc870641cdd0a4868055f90346dd33533283747b /tests/openpgp/run-tests.scm
parentgpgscm: Move the test runner to the Scheme library. (diff)
downloadgnupg-d43dabf4607d3bcfc217eb9aea34d093f5aa698f.tar.gz
gnupg-d43dabf4607d3bcfc217eb9aea34d093f5aa698f.zip
gpgscm: Generalize the test runner.
* tests/gpgscm/tests.scm (test::scm) Add explicit name argument. (test::binary): Likewise. Also, add missing unquote. * tests/openpgp/run-tests.scm: Adapt accordingly. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/openpgp/run-tests.scm')
-rw-r--r--tests/openpgp/run-tests.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/openpgp/run-tests.scm b/tests/openpgp/run-tests.scm
index a7c282e5e..414641199 100644
--- a/tests/openpgp/run-tests.scm
+++ b/tests/openpgp/run-tests.scm
@@ -30,4 +30,5 @@
run-tests-parallel
run-tests-sequential))
(tests (filter (lambda (arg) (not (string-prefix? arg "--"))) *args*)))
- (runner (test::scm "setup.scm") (map test::scm tests)))
+ (runner (test::scm "setup.scm" "setup.scm")
+ (map (lambda (t) (test::scm t t)) tests)))