diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-11-24 07:22:32 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-11-24 07:57:25 +0100 |
commit | 1246e16432b4240ad81c0bd757d7458b609dfd96 (patch) | |
tree | 15a7f1db3c4bca7434f37e2d9fcb1e8ff773b444 /tests/gpgme | |
parent | tests:w32: Fix for non-dot file name for Windows. (diff) | |
download | gnupg2-1246e16432b4240ad81c0bd757d7458b609dfd96.tar.xz gnupg2-1246e16432b4240ad81c0bd757d7458b609dfd96.zip |
tests: Fix to support --enable-all-tests and variants.
* tests/gpgscm/tests.scm (test::scm): Add VARIANT argument.
(tests::new): Likewise.
(open-log-file, report): Support VARIANT.
* tests/gpgme/all-tests.scm (setup-c, setup-py): Follow the change.
* tests/cms/all-tests.scm: Likewise.
* tests/cms/run-tests.scm: Likewise.
* tests/migrations/all-tests.scm: Likewise.
* tests/migrations/run-tests.scm: Likewise.
* tests/openpgp/all-tests.scm: Likewise.
* tests/openpgp/run-tests.scm: Likewise.
--
Forward port from 2.2 branch of:
0fd7a902070ad9bdd835fa57dbadff25917bca42
Fixes-commit: 1c88104a3f00f7ca3790fbaab8f67b2b68cd6e18
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'tests/gpgme')
-rw-r--r-- | tests/gpgme/all-tests.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gpgme/all-tests.scm b/tests/gpgme/all-tests.scm index f72f8af97..1746c4ee1 100644 --- a/tests/gpgme/all-tests.scm +++ b/tests/gpgme/all-tests.scm @@ -40,6 +40,7 @@ (make-environment-cache (test::scm #f + #f (path-join "tests" "gpgme" "setup.scm" "tests" "gpg") (in-srcdir "tests" "gpgme" "setup.scm") "--" "tests" "gpg"))) @@ -47,6 +48,7 @@ (make-environment-cache (test::scm #f + #f (path-join "tests" "gpgme" "setup.scm" "lang" "python" "tests") (in-srcdir "tests" "gpgme" "setup.scm") "--" "lang" "python" "tests"))) @@ -71,6 +73,7 @@ (map (lambda (name) (apply test::scm `(,(:setup cmpnts) + #f ,(apply path-join `("tests" "gpgme" ,@(:path cmpnts) ,name)) ,(in-srcdir "tests" "gpgme" "wrap.scm") |