stefanberger / swtpm

Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Other
564 stars 136 forks source link

build-sys: Add support for --disable-tests to disable tests #844

Closed stefanberger closed 5 months ago

stefanberger commented 5 months ago

Add support for --disable-tests to disable the tests and the checking for tools that only need to be installed for the tests. Keep the tests enabled as default as it was before.

Resolves: https://github.com/stefanberger/swtpm/issues/843

jarkkojs commented 5 months ago

Testing

jarkkojs commented 5 months ago

It does work!

I created a test branch, which uses master.next and successfully run all kselftests for TPM2 using tpm_tis: https://gitlab.com/jarkkojs/linux-tpmdd-test/-/commits/swtpm-fix