tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
150 stars 100 forks source link

test: use tpm2-tools 3.X #119

Closed diabonas closed 5 years ago

diabonas commented 5 years ago

Since https://github.com/tpm2-software/tpm2-tools/commit/893e43271024e9c2d942c8dc9ba1657a667bb0e2 tpm2-tools explicitly requires tpm2-tss >=2.3.0, so we switch to the stable version of tpm2-tools instead. This has been attempted previously in #61, but failed due to the missing tpm2_flushcontext tool. Since that tool has been backported to tpm2-tools 3.X, we can now use it for the CI. Therefore this is basically a rewrite of #61 for the long option names introduced in https://github.com/tpm2-software/tpm2-tss-engine/pull/110.

Note that tpm2-tools 3.2 that will include tpm2_flushcontext is not yet released, so users can't run the integration tests with the tpm2-tools package provided by their distribution. Until that happens, they will manually have to build the tpm2-tools 3.X branch instead.

diabonas commented 5 years ago

This fixes the CI failures observed by #117 and #118.

codecov[bot] commented 5 years ago

Codecov Report

Merging #119 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   67.43%   67.43%           
=======================================
  Files           9        9           
  Lines        1176     1176           
=======================================
  Hits          793      793           
  Misses        383      383

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3e630f4...d606b9a. Read the comment docs.