test: tpm-tis: Add Sysbus TPM-TIS device test
commitfe985ed6837ac6169ab9673547115df2897bcf6d
authorEric Auger <eric.auger@redhat.com>
Thu, 5 Mar 2020 16:51:49 +0000 (5 17:51 +0100)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 5 Mar 2020 17:18:47 +0000 (5 12:18 -0500)
treea874fa32e1aa35071f5951e208547f669d50ea63
parent5166c32617065a66e3f95e49381f15bf29ce6799
test: tpm-tis: Add Sysbus TPM-TIS device test

The tests themselves are the same as the ISA device ones.
Only the main() changes as the "tpm-tis-device" device gets
instantiated. Also the base address of the device is not
0xFED40000 anymore but matches the base address of the
ARM virt platform bus.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20200305165149.618-11-eric.auger@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
tests/qtest/Makefile.include
tests/qtest/tpm-tis-device-swtpm-test.c [new file with mode: 0644]
tests/qtest/tpm-tis-device-test.c [new file with mode: 0644]