Home GnuPG

build: Skip PK-specific tests if algo is disabled

Description

build: Skip PK-specific tests if algo is disabled

* configure.ac: Define AM_CONDITIONALs for USE_DSA, USE_RSA,
  USE_ELGAMAL, USE_ECC so Makefiles can depend on them.
* tests/Makefile.am: Skip tests that test only one public key algorithm
  if that algorithm is disabled.

Skip building and running tests that are specific for a public key
algorithm if that algorithm was disabled using the
--enable-pubkey-ciphers configure option.

  • GnuPG-bug-id: T6048
  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
neverpanicAuthored on Jun 21 2022, 7:00 PM
gniibeCommitted on Jul 1 2022, 9:11 AM
Parents
rC572b0bf9668d: tests/keygen.c: Skip unavailable PK algorithms
Branches
Unknown
Tags
Unknown
Tasks
T6048: Test suite fixes with --enable-pubkey-ciphers=ecc