]>
Commit | Line | Data |
---|---|---|
e46a2b66 SB |
1 | # |
2 | # tests/Makefile.am | |
3 | # | |
4 | # For the license, see the LICENSE file in the root directory. | |
5 | # | |
6 | ||
7 | check_PROGRAMS = | |
8 | ||
2308308b SB |
9 | TESTS = \ |
10 | test_vtpm_proxy | |
498433f7 SB |
11 | |
12 | if WITH_CHARDEV | |
13 | TESTS += \ | |
1eef338e SB |
14 | test_ctrlchannel2 \ |
15 | test_ctrlchannel4 | |
498433f7 | 16 | endif |
f26ec8c8 | 17 | |
f26ec8c8 | 18 | TESTS += \ |
1eef338e | 19 | test_ctrlchannel \ |
281cb8ac | 20 | test_ctrlchannel3 \ |
f26ec8c8 | 21 | test_encrypted_state \ |
e46a2b66 | 22 | test_getcap \ |
e46a2b66 | 23 | test_hashing \ |
0321a380 | 24 | test_hashing2 \ |
f26ec8c8 SB |
25 | test_init \ |
26 | test_locality \ | |
27 | test_migration_key \ | |
f26ec8c8 | 28 | test_resume_volatile \ |
198ebab3 SB |
29 | test_save_load_encrypted_state \ |
30 | test_save_load_state \ | |
688c8e24 | 31 | test_setbuffersize \ |
f26ec8c8 | 32 | test_volatilestate \ |
01aa2ed3 | 33 | test_swtpm_bios \ |
f26ec8c8 | 34 | test_wrongorder |
f26ec8c8 SB |
35 | |
36 | if WITH_SWTPM_SETUP | |
37 | TESTS += \ | |
e46a2b66 | 38 | test_commandline \ |
f26ec8c8 SB |
39 | test_parameters |
40 | endif | |
e46a2b66 SB |
41 | |
42 | if WITH_GNUTLS | |
43 | TESTS += \ | |
f26ec8c8 SB |
44 | test_swtpm_cert |
45 | if WITH_SWTPM_SETUP | |
46 | TESTS += \ | |
0dba8f77 | 47 | test_swtpm_setup_create_cert |
e46a2b66 | 48 | endif |
f26ec8c8 SB |
49 | endif |
50 | ||
e46a2b66 SB |
51 | EXTRA_DIST=$(TESTS) \ |
52 | swtpm_setup.conf \ | |
4c046e0b | 53 | common \ |
e46a2b66 SB |
54 | create_certs.sh \ |
55 | data/issuercert.pem \ | |
56 | data/pubek.pem \ | |
57 | data/signkey.pem \ | |
58 | data/keyfile.txt \ | |
59 | data/pwdfile.txt \ | |
8236603b | 60 | data/migkey1/volatilestate.bin \ |
e46a2b66 SB |
61 | data/tpmstate1/tpm-00.permall \ |
62 | data/tpmstate1/tpm-00.volatilestate \ | |
63 | data/tpmstate1/README \ | |
64 | data/tpmstate2/tpm-00.permall \ | |
65 | data/tpmstate2/tpm-00.volatilestate \ | |
66 | data/tpmstate2/pwdfile.txt \ | |
67 | data/tpmstate2/README \ | |
4c046e0b | 68 | test_clientfds.py \ |
70f3e248 | 69 | test_common \ |
96038cdf | 70 | test_cuse \ |
4c046e0b SB |
71 | test_setdatafd.py \ |
72 | test_swtpm_cert \ | |
73 | _test_encrypted_state \ | |
74 | _test_getcap \ | |
75 | _test_hashing \ | |
76 | _test_hashing2 \ | |
77 | _test_init \ | |
78 | _test_locality \ | |
79 | _test_migration_key \ | |
80 | _test_migration_key_2 \ | |
81 | _test_resume_volatile \ | |
82 | _test_save_load_encrypted_state \ | |
83 | _test_save_load_state \ | |
84 | _test_setbuffersize \ | |
85 | _test_swtpm_bios \ | |
86 | _test_volatilestate \ | |
87 | _test_wrongorder | |
19e05751 SB |
88 | |
89 | check-display: | |
90 | @if test -n "$$SWTPM_EXE"; then \ | |
91 | echo "*** Using SWTPM_EXE=$$SWTPM_EXE"; \ | |
92 | fi | |
93 | @if test -n "$$SWTPM_BIOS"; then \ | |
94 | echo "*** Using SWTPM_BIOS=$$SWTPM_BIOS"; \ | |
95 | fi | |
96 | @if test -n "$$SWTPM_IOCTL"; then \ | |
97 | echo "*** Using SWTPM_IOCTL=$$SWTPM_IOCTL"; \ | |
98 | fi | |
99 | ||
100 | check: check-am check-display |