1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00

tests: Restrict the use of gpgconf.ctl to make check.

* common/homedir.c (unix_rootdir): Add ".enable" statement to
gpgconf.ctl
* tests/gpgconf.ctl.in: Use this statement.
* tests/cms/Makefile.am (OLD_TESTS_ENVIRONMENT): Enable .enable.
(TESTS_ENVIRONMENT): Ditto.
* tests/gpgme/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/migrations/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/openpgp/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/pkits/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/tpm2dtests/Makefile.am (TESTS_ENVIRONMENT): Ditto.
--

Without that it was required to delete the gpgconf.ctl to run manual
tests.

What a hack.
This commit is contained in:
Werner Koch 2022-09-14 11:58:35 +02:00
parent e70e09c3d5
commit 50d12860ef
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
8 changed files with 39 additions and 1 deletions

View file

@ -11,5 +11,8 @@
# variables are substituted in standard shell manner, the final value
# must start with a slash, trailing slashes are stripped.
# This file is only considered if the given envvar evaluates to true.
.enable = $GNUPG_IN_TEST_SUITE
sysconfdir = $GNUPG_BUILD_ROOT/etc
rootdir = $GNUPG_BUILD_ROOT/