]> git.proxmox.com Git - swtpm.git/commit - tests/test_tpm2_swtpm_localca
tests: Enable running tests in out-of-source builds
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 3 Aug 2018 01:15:06 +0000 (21:15 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 7 Aug 2018 16:19:47 +0000 (12:19 -0400)
commit313cf75c4221aa13c5a28f5994d8236b2ffa6f4e
tree97580d6f21bd46a7dc13571afacf9978220f40b3
parent430a39d33528adf4da73c5dc326beae355d4f2b8
tests: Enable running tests in out-of-source builds

Pass the top_builddir and top_srcdir via TESTS_ENVIRONMENT
variable in Makefile.am.

Use TESTDIR for the path to the test directory and replace
previously used DIR in all occurences.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
52 files changed:
tests/Makefile.am
tests/_test_encrypted_state
tests/_test_getcap
tests/_test_hashing
tests/_test_hashing2
tests/_test_init
tests/_test_locality
tests/_test_migration_key
tests/_test_resume_volatile
tests/_test_save_load_encrypted_state
tests/_test_save_load_state
tests/_test_setbuffersize
tests/_test_swtpm_bios
tests/_test_tpm2_encrypted_state
tests/_test_tpm2_getcap
tests/_test_tpm2_hashing
tests/_test_tpm2_hashing2
tests/_test_tpm2_hashing3
tests/_test_tpm2_init
tests/_test_tpm2_locality
tests/_test_tpm2_migration_key
tests/_test_tpm2_probe
tests/_test_tpm2_resume_volatile
tests/_test_tpm2_save_load_encrypted_state
tests/_test_tpm2_save_load_state
tests/_test_tpm2_save_load_state_da_timeout
tests/_test_tpm2_savestate
tests/_test_tpm2_setbuffersize
tests/_test_tpm2_swtpm_bios
tests/_test_tpm2_volatilestate
tests/_test_tpm2_wrongorder
tests/_test_tpm_probe
tests/_test_volatilestate
tests/_test_wrongorder
tests/common
tests/test_commandline
tests/test_ctrlchannel
tests/test_ctrlchannel2
tests/test_ctrlchannel3
tests/test_ctrlchannel4
tests/test_parameters
tests/test_swtpm_cert
tests/test_swtpm_setup_create_cert
tests/test_tpm2_ctrlchannel2
tests/test_tpm2_parameters
tests/test_tpm2_samples_swtpm_localca
tests/test_tpm2_save_load_state_3
tests/test_tpm2_swtpm_cert
tests/test_tpm2_swtpm_cert_ecc
tests/test_tpm2_swtpm_setup_create_cert
tests/test_tpm2_vtpm_proxy
tests/test_vtpm_proxy