This series of patches adds tests for the TPM TIS. Stefan
v1->v2: - moved common TPM test code into tpm-emu.c - clearified a few comments in tpm-tis-test.c, no code changes Stefan Berger (2): tests: Move common TPM test code into tpm-emu.c tests: add test for TPM TIS device MAINTAINERS | 1 + hw/tpm/tpm_tis.c | 101 ---------- include/hw/acpi/tpm.h | 105 +++++++++++ tests/Makefile.include | 4 +- tests/tpm-crb-test.c | 174 +----------------- tests/tpm-emu.c | 175 ++++++++++++++++++ tests/tpm-emu.h | 38 ++++ tests/tpm-tis-test.c | 486 +++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 811 insertions(+), 273 deletions(-) create mode 100644 tests/tpm-emu.c create mode 100644 tests/tpm-emu.h create mode 100644 tests/tpm-tis-test.c -- 2.5.5