diff options
author | Eric Auger <eric.auger@redhat.com> | 2020-03-05 17:51:48 +0100 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2020-03-05 12:18:39 -0500 |
commit | 5166c32617065a66e3f95e49381f15bf29ce6799 (patch) | |
tree | 2b548fc10390c1ff018e75d9e405beceee997779 /tests/qtest/Makefile.include | |
parent | 551cabdfa9acaf6bb245a5c01d3fa4a15fc714de (diff) | |
download | qemu-5166c32617065a66e3f95e49381f15bf29ce6799.zip qemu-5166c32617065a66e3f95e49381f15bf29ce6799.tar.gz qemu-5166c32617065a66e3f95e49381f15bf29ce6799.tar.bz2 |
test: tpm-tis: Get prepared to share tests between ISA and sysbus devices
ISA and sysbus TPM-TIS devices will share their tests. Only
the main() will change (instantiation option is different).
Also the base address of the TPM-TIS device is going to be
different. on x86 it is located at 0xFED40000 while on ARM
it can be located at any location, discovered through the
device tree description.
So we put shared test functions in a new object module.
Each test needs to set tpm_tis_base_addr global variable.
Also take benefit of this move to fix "block comments using
a leading */ on a separate line" checkpatch warnings.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20200305165149.618-10-eric.auger@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'tests/qtest/Makefile.include')
-rw-r--r-- | tests/qtest/Makefile.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/Makefile.include b/tests/qtest/Makefile.include index 028af5b..44aac68 100644 --- a/tests/qtest/Makefile.include +++ b/tests/qtest/Makefile.include @@ -302,7 +302,7 @@ tests/qtest/tpm-crb-swtpm-test$(EXESUF): tests/qtest/tpm-crb-swtpm-test.o tests/ tests/qtest/tpm-crb-test$(EXESUF): tests/qtest/tpm-crb-test.o tests/qtest/tpm-emu.o $(test-io-obj-y) tests/qtest/tpm-tis-swtpm-test$(EXESUF): tests/qtest/tpm-tis-swtpm-test.o tests/qtest/tpm-emu.o \ tests/qtest/tpm-util.o tests/qtest/tpm-tests.o $(test-io-obj-y) -tests/qtest/tpm-tis-test$(EXESUF): tests/qtest/tpm-tis-test.o tests/qtest/tpm-emu.o $(test-io-obj-y) +tests/qtest/tpm-tis-test$(EXESUF): tests/qtest/tpm-tis-test.o tests/qtest/tpm-tis-util.o tests/qtest/tpm-emu.o $(test-io-obj-y) # QTest rules |