aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorDamien Goutte-Gattat via Gnupg-devel <[email protected]>2021-03-15 21:20:05 +0000
committerWerner Koch <[email protected]>2021-03-16 09:57:01 +0000
commitc0f50811fcf81e5ebe2df326342081cfdacfbbfc (patch)
tree48dacf2166325617d026e0e30314603b4a1657f3 /scd/command.c
parentbuild: Fix distcheck when tpm2dtests are run. (diff)
downloadgnupg-c0f50811fcf81e5ebe2df326342081cfdacfbbfc.tar.gz
gnupg-c0f50811fcf81e5ebe2df326342081cfdacfbbfc.zip
build: Check for the IBM TSS tools to run the tpm2d tests.
* configure.ac (TEST_LIBTSS): Make that conditional depend on the detection of tssstartup. -- While the tpm2d daemon can use either the Intel TSS or the IBM TSS, the test code (specifically, the start_sw_tpm.sh script) requires some tools from the IBM TSS (tssstartup and tsspowerup). If a software TPM is detected at configure time but the IBM TSS tools are absent (e.g. because only the Intel TSS is available on the system), `make check` will attempt to run the tpm2d tests and those will fail when the start_sw_tpm.sh script is launched. This patch makes running the tpm2d tests dependent not only on the detection of a software TPM, but also on the detection of tssstartup (it is probably safe to assume that if tssstartup is present, then tsspowerup is available as well). Signed-off-by: Damien Goutte-Gattat <[email protected]>
Diffstat (limited to 'scd/command.c')
0 files changed, 0 insertions, 0 deletions