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>