mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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:0fd7a90207
Fixes-commit:1c88104a3f
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
7071f30762
commit
1246e16432
8 changed files with 36 additions and 16 deletions
|
@ -39,6 +39,7 @@
|
|||
(define setup-c
|
||||
(make-environment-cache
|
||||
(test::scm
|
||||
#f
|
||||
#f
|
||||
(path-join "tests" "gpgme" "setup.scm" "tests" "gpg")
|
||||
(in-srcdir "tests" "gpgme" "setup.scm")
|
||||
|
@ -46,6 +47,7 @@
|
|||
(define setup-py
|
||||
(make-environment-cache
|
||||
(test::scm
|
||||
#f
|
||||
#f
|
||||
(path-join "tests" "gpgme" "setup.scm" "lang" "python" "tests")
|
||||
(in-srcdir "tests" "gpgme" "setup.scm")
|
||||
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue