summaryrefslogtreecommitdiffstats
path: root/tests/migrations
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-11-24 07:22:32 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2022-11-24 07:57:25 +0100
commit1246e16432b4240ad81c0bd757d7458b609dfd96 (patch)
tree15a7f1db3c4bca7434f37e2d9fcb1e8ff773b444 /tests/migrations
parenttests:w32: Fix for non-dot file name for Windows. (diff)
downloadgnupg2-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/migrations')
-rw-r--r--tests/migrations/all-tests.scm1
-rw-r--r--tests/migrations/run-tests.scm1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/migrations/all-tests.scm b/tests/migrations/all-tests.scm
index 421f69679..ba95f5c50 100644
--- a/tests/migrations/all-tests.scm
+++ b/tests/migrations/all-tests.scm
@@ -28,6 +28,7 @@
(map (lambda (name)
(test::scm #f
+ #f
(path-join "tests" "migrations" name)
(in-srcdir "tests" "migrations" name)))
(parse-makefile-expand (in-srcdir "tests" "migrations" "Makefile.am")
diff --git a/tests/migrations/run-tests.scm b/tests/migrations/run-tests.scm
index f44334c7d..d4db14f56 100644
--- a/tests/migrations/run-tests.scm
+++ b/tests/migrations/run-tests.scm
@@ -23,5 +23,6 @@
(load-tests "tests" "migrations")
(map (lambda (name)
(test::scm #f
+ #f
(path-join "tests" "migrations" name)
(in-srcdir "tests" "migrations" name))) tests)))