]> git.proxmox.com Git - mirror_qemu.git/commit - tests/Makefile.include
test: Move common TPM test functions to tpm-tests.c
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 30 May 2018 16:30:26 +0000 (12:30 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 6 Jun 2018 19:44:01 +0000 (15:44 -0400)
commit2b4ccb87ec498184de50068f840eec7426d5da2a
treeec04299a995d051c93103258e8465c7f346b7faf
parentb1e4b7c6b299b8aba1cef9a5ac7221d9eef4e949
test: Move common TPM test functions to tpm-tests.c

Move common TPM test functions from tpm-crb-swtpm-test.c to tpm-tests.c
so that for example test cases with the TPM TIS interface can use the
same code. Prefix all funcions with 'tpm_test_'.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/Makefile.include
tests/tpm-crb-swtpm-test.c
tests/tpm-tests.c [new file with mode: 0644]
tests/tpm-tests.h [new file with mode: 0644]