[PATCH gnupg 0/2] Small fixes for running the tpm2dtests.
Damien Goutte-Gattat
dgouttegattat at incenp.org
Mon Mar 15 22:20:03 CET 2021
Hi,
The following two patches fix two small issues with the build system
caused by the newly added TPM code and specifically the corresponding
tests.
The first one is that the test files are not properly distributed in the
generated tarball, causing `make distcheck` to fail if it is run on a
system where the tests *can* be run (e.g. if a software TPM is
detected).
The second is that the tpm2d tests requires tools from the IBM TSS,
which may not be present on the system even if a software TPM is
available (this was the case on my system, where I initially only had
the tools from the Intel TSS). The quick fix proposed here is to detect
the IBM TSS tools and only run the tpm2d tests if they are present. I
guess a better fix would be to adapt the start_sw_tpm.sh script to make
it usable with either the IBM TSS tools or the Intel TSS tools, but I do
not know either TSS well enough to do that (e.g. what is the equivalent
of tssstartup in the Intel TSS?).
- Damien
Damien Goutte-Gattat (2):
build: Fix distcheck when tpm2dtests are run.
build: Check for the IBM TSS tools to run the tpm2d tests.
configure.ac | 3 ++-
tests/tpm2dtests/Makefile.am | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
--
2.27.0
More information about the Gnupg-devel
mailing list