Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1 | #;**********************************************************************; |
Philip Tricca | 49635f4 | 2018-03-10 19:19:58 -0800 | [diff] [blame] | 2 | # Copyright (c) 2015 - 2018 Intel Corporation |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 3 | # Copyright (c) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG |
| 4 | # All rights reserved. |
| 5 | # |
| 6 | # Redistribution and use in source and binary forms, with or without |
| 7 | # modification, are permitted provided that the following conditions are met: |
| 8 | # |
| 9 | # 1. Redistributions of source code must retain the above copyright notice, |
| 10 | # this list of conditions and the following disclaimer. |
| 11 | # |
| 12 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
| 13 | # this list of conditions and the following disclaimer in the documentation |
| 14 | # and/or other materials provided with the distribution. |
| 15 | # |
| 16 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 17 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 18 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 19 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| 20 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 21 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 22 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 23 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 24 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 25 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 26 | # THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | #;**********************************************************************; |
| 28 | |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 29 | TESTS_CFLAGS = $(AM_CFLAGS) $(LIBCRYPTO_CFLAGS) -I$(srcdir)/src/tss2-mu \ |
Andreas Fuchs | baeb2be | 2018-03-29 15:39:50 +0200 | [diff] [blame] | 30 | -I$(srcdir)/src/tss2-sys -I$(srcdir)/src/tss2-esys \ |
Andreas Fuchs | 1c4a811 | 2018-03-29 16:58:07 +0200 | [diff] [blame] | 31 | -Wno-unused-parameter -Wno-missing-field-initializers |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 32 | TESTS_LDADD = $(noinst_LTLIBRARIES) $(lib_LTLIBRARIES) $(LIBCRYPTO_LIBS) $(libutil) |
| 33 | |
| 34 | # test harness configuration |
| 35 | TEST_EXTENSIONS = .int |
| 36 | INT_LOG_COMPILER = $(srcdir)/script/int-log-compiler.sh |
| 37 | INT_LOG_FLAGS = --simulator-bin=$(SIMULATOR_BIN) |
| 38 | EXTRA_DIST += $(INT_LOG_COMPILER) |
| 39 | |
| 40 | check-programs: $(check_PROGRAMS) |
| 41 | |
| 42 | check_PROGRAMS = $(TESTS_UNIT) $(TESTS_INTEGRATION) |
| 43 | TESTS = $(check_PROGRAMS) |
| 44 | |
Andreas Fuchs | a0eda36 | 2018-03-28 11:56:42 +0200 | [diff] [blame] | 45 | if SIMULATOR_BIN |
| 46 | noinst_PROGRAMS += test/helper/tpm_startup |
| 47 | test_helper_tpm_startup_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 48 | test_helper_tpm_startup_LDFLAGS = $(TESTS_LDFLAGS) |
| 49 | test_helper_tpm_startup_LDADD = $(TESTS_LDADD) |
| 50 | test_helper_tpm_startup_SOURCES = test/helper/tpm_startup.c |
Andreas Fuchs | a0eda36 | 2018-03-28 11:56:42 +0200 | [diff] [blame] | 51 | |
Andreas Fuchs | 6ab3fd8 | 2018-03-28 12:23:19 +0200 | [diff] [blame] | 52 | noinst_PROGRAMS += test/helper/tpm_transientempty |
| 53 | test_helper_tpm_transientempty_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 54 | test_helper_tpm_transientempty_LDFLAGS = $(TESTS_LDFLAGS) |
| 55 | test_helper_tpm_transientempty_LDADD = $(TESTS_LDADD) |
| 56 | test_helper_tpm_transientempty_SOURCES = test/helper/tpm_transientempty.c |
Philip Tricca | 216ac49 | 2018-03-30 09:21:24 -0700 | [diff] [blame] | 57 | endif #SIMULATOR_BIN |
Andreas Fuchs | 6ab3fd8 | 2018-03-28 12:23:19 +0200 | [diff] [blame] | 58 | |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 59 | if UNIT |
| 60 | TESTS_UNIT = \ |
| 61 | test/unit/CommonPreparePrologue \ |
| 62 | test/unit/CopyCommandHeader \ |
| 63 | test/unit/GetNumHandles \ |
Philip Tricca | 88ced72 | 2018-03-14 15:24:20 -0700 | [diff] [blame] | 64 | test/unit/io \ |
Philip Tricca | e394cff | 2018-04-18 08:36:06 -0700 | [diff] [blame^] | 65 | test/unit/key-value-parse \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 66 | test/unit/tcti-device \ |
Philip Tricca | addad78 | 2018-03-09 11:42:05 -0800 | [diff] [blame] | 67 | test/unit/tcti-mssim \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 68 | test/unit/UINT8-marshal \ |
| 69 | test/unit/UINT16-marshal \ |
| 70 | test/unit/UINT32-marshal \ |
| 71 | test/unit/UINT64-marshal \ |
| 72 | test/unit/TPMA-marshal \ |
| 73 | test/unit/TPM2B-marshal \ |
| 74 | test/unit/TPMS-marshal \ |
| 75 | test/unit/TPML-marshal \ |
| 76 | test/unit/TPMT-marshal \ |
| 77 | test/unit/TPMU-marshal |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 78 | if ESAPI |
| 79 | TESTS_UNIT += \ |
Andreas Fuchs | 88ac7d7 | 2018-03-16 13:20:54 +0100 | [diff] [blame] | 80 | test/unit/esys-context-null \ |
Andreas Fuchs | 5d9ce58 | 2018-03-21 19:05:47 +0100 | [diff] [blame] | 81 | test/unit/esys-default-tcti \ |
Juergen Repp | 2018151 | 2018-03-20 16:14:28 +0100 | [diff] [blame] | 82 | test/unit/esys-resubmissions \ |
Andreas Fuchs | 4879ad3 | 2018-04-12 14:48:06 +0200 | [diff] [blame] | 83 | test/unit/esys-sequence-finish \ |
Andreas Fuchs | 72227dc | 2018-04-12 14:54:07 +0200 | [diff] [blame] | 84 | test/unit/esys-tcti-rcs \ |
| 85 | test/unit/esys-tpm-rcs |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 86 | endif ESAPI |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 87 | endif #UNIT |
| 88 | |
| 89 | if SIMULATOR_BIN |
| 90 | noinst_LTLIBRARIES += test/integration/libtest_utils.la |
| 91 | TESTS_INTEGRATION = \ |
| 92 | test/integration/asymmetric-encrypt-decrypt.int \ |
| 93 | test/integration/create-primary-rsa-2048-aes-128-cfb.int \ |
| 94 | test/integration/create-keyedhash-sha1-hmac.int \ |
| 95 | test/integration/encrypt-decrypt.int \ |
| 96 | test/integration/encrypt-decrypt-2.int \ |
| 97 | test/integration/evict-ctrl.int \ |
| 98 | test/integration/get-random.int \ |
| 99 | test/integration/hierarchy-change-auth.int \ |
| 100 | test/integration/abi-version.int \ |
| 101 | test/integration/pcr-extension.int \ |
| 102 | test/integration/self-test.int \ |
| 103 | test/integration/start-auth-session.int \ |
| 104 | test/integration/sys-initialize.int \ |
| 105 | test/integration/tpm-properties.int \ |
| 106 | test/integration/system-api.int \ |
| 107 | test/integration/policy-template.int \ |
| 108 | test/integration/create-loaded.int \ |
| 109 | test/integration/policy-authorizeNV.int \ |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 110 | test/integration/command-cancel.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 111 | test/tpmclient/tpmclient.int |
| 112 | if ESAPI |
| 113 | TESTS_INTEGRATION += \ |
Juergen Repp | 607317b | 2018-04-12 10:34:57 +0200 | [diff] [blame] | 114 | test/integration/esys-audit.int \ |
Juergen Repp | 43966fc | 2018-04-12 10:44:53 +0200 | [diff] [blame] | 115 | test/integration/esys-certify-creation.int \ |
Juergen Repp | 77b9a0e | 2018-04-12 10:45:15 +0200 | [diff] [blame] | 116 | test/integration/esys-certify.int \ |
Juergen Repp | 1645570 | 2018-04-12 10:45:49 +0200 | [diff] [blame] | 117 | test/integration/esys-change-eps.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 118 | test/integration/esys-clear.int \ |
Juergen Repp | 658cd7d | 2018-04-12 10:46:25 +0200 | [diff] [blame] | 119 | test/integration/esys-clear-control.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 120 | test/integration/esys-clear-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 121 | test/integration/esys-clockset.int \ |
Juergen Repp | 0c2d853 | 2018-04-12 10:46:57 +0200 | [diff] [blame] | 122 | test/integration/esys-commit.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 123 | test/integration/esys-create-fail.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 124 | test/integration/esys-createloaded.int \ |
| 125 | test/integration/esys-createloaded-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 126 | test/integration/esys-create-password-auth.int \ |
| 127 | test/integration/esys-create-primary-ecc-hmac.int \ |
| 128 | test/integration/esys-create-primary-hmac.int \ |
| 129 | test/integration/esys-create-session-auth.int \ |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 130 | test/integration/esys-create-session-auth-xor.int \ |
Juergen Repp | f477ded | 2018-03-27 14:40:35 +0200 | [diff] [blame] | 131 | test/integration/esys-duplicate.int \ |
Juergen Repp | 0d884d5 | 2018-04-12 10:48:07 +0200 | [diff] [blame] | 132 | test/integration/esys-ecc-parameters.int \ |
Juergen Repp | 472840f | 2018-04-12 10:48:38 +0200 | [diff] [blame] | 133 | test/integration/esys-ecdh-keygen.int \ |
Juergen Repp | 73461b4 | 2018-04-12 10:49:10 +0200 | [diff] [blame] | 134 | test/integration/esys-ecdh-zgen.int \ |
Juergen Repp | cd10125 | 2018-04-12 10:50:21 +0200 | [diff] [blame] | 135 | test/integration/esys-encrypt-decrypt.int \ |
Juergen Repp | 7de9fbf | 2018-04-12 10:50:57 +0200 | [diff] [blame] | 136 | test/integration/esys-event-sequence-complete.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 137 | test/integration/esys-evict-control-serialization.int \ |
Juergen Repp | 4ffdf0f | 2018-04-12 10:51:27 +0200 | [diff] [blame] | 138 | test/integration/esys-field-upgrade.int \ |
Juergen Repp | 841eeb4 | 2018-04-12 10:51:49 +0200 | [diff] [blame] | 139 | test/integration/esys-firmware-read.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 140 | test/integration/esys-get-capability.int \ |
| 141 | test/integration/esys-get-random.int \ |
Juergen Repp | d6ed8f2 | 2018-04-12 10:52:19 +0200 | [diff] [blame] | 142 | test/integration/esys-get-time.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 143 | test/integration/esys-hashsequencestart.int \ |
| 144 | test/integration/esys-hashsequencestart-session.int \ |
| 145 | test/integration/esys-hierarchychangeauth.int \ |
Juergen Repp | 9f394f2 | 2018-04-12 10:52:35 +0200 | [diff] [blame] | 146 | test/integration/esys-hierarchy-control.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 147 | test/integration/esys-hmacsequencestart.int \ |
| 148 | test/integration/esys-hmacsequencestart-session.int \ |
Juergen Repp | efacad1 | 2018-04-12 10:53:12 +0200 | [diff] [blame] | 149 | test/integration/esys-import.int \ |
Juergen Repp | 5302883 | 2018-04-12 10:53:30 +0200 | [diff] [blame] | 150 | test/integration/esys-lock.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 151 | test/integration/esys-make-credential.int \ |
| 152 | test/integration/esys-make-credential-session.int \ |
Juergen Repp | 090bcef | 2018-04-12 10:53:49 +0200 | [diff] [blame] | 153 | test/integration/esys-nv-certify.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 154 | test/integration/esys-nv-ram-counter.int \ |
| 155 | test/integration/esys-nv-ram-counter-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 156 | test/integration/esys-nv-ram-extend-index.int \ |
| 157 | test/integration/esys-nv-ram-extend-index-session.int \ |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 158 | test/integration/esys-nv-ram-ordinary-index-rlock.int \ |
| 159 | test/integration/esys-nv-ram-ordinary-index-rlock-session.int \ |
| 160 | test/integration/esys-nv-ram-ordinary-index-wlock.int \ |
| 161 | test/integration/esys-nv-ram-ordinary-index-wlock-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 162 | test/integration/esys-nv-ram-set-bits.int \ |
| 163 | test/integration/esys-nv-ram-set-bits-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 164 | test/integration/esys-object-changeauth.int \ |
Juergen Repp | 731135d | 2018-03-27 14:43:03 +0200 | [diff] [blame] | 165 | test/integration/esys-pcr-basic.int \ |
| 166 | test/integration/esys-pcr-auth-value.int \ |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 167 | test/integration/esys-policy-authorize.int \ |
Juergen Repp | d93eb3d | 2018-04-12 11:29:16 +0200 | [diff] [blame] | 168 | test/integration/esys-policy-regression.int \ |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 169 | test/integration/esys-policy-ticket.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 170 | test/integration/esys-policy-nv-changeauth.int \ |
Juergen Repp | 4cac282 | 2018-04-12 10:58:39 +0200 | [diff] [blame] | 171 | test/integration/esys-policy-nv-undefine-special.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 172 | test/integration/esys-policy-password.int \ |
Juergen Repp | 91ed3de | 2018-04-12 11:01:30 +0200 | [diff] [blame] | 173 | test/integration/esys-pp-commands.int \ |
| 174 | test/integration/esys-quote.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 175 | test/integration/esys-rsa-encrypt-decrypt.int \ |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 176 | test/integration/esys-save-and-load-context.int \ |
Juergen Repp | 0a3c1bb | 2018-04-12 11:02:34 +0200 | [diff] [blame] | 177 | test/integration/esys-set-algorithm-set.int \ |
Juergen Repp | a3c6e2d | 2018-04-12 11:03:30 +0200 | [diff] [blame] | 178 | test/integration/esys-stir-random.int \ |
Juergen Repp | cd6c1a1 | 2018-04-12 11:04:06 +0200 | [diff] [blame] | 179 | test/integration/esys-testparms.int \ |
Juergen Repp | 24f4acb | 2018-04-12 11:04:27 +0200 | [diff] [blame] | 180 | test/integration/esys-tpm-tests.int \ |
Andreas Fuchs | 722d85f | 2018-04-12 14:05:40 +0200 | [diff] [blame] | 181 | test/integration/esys-tr-fromTpmPublic-key.int \ |
Andreas Fuchs | 95809e2 | 2018-04-12 12:21:06 +0200 | [diff] [blame] | 182 | test/integration/esys-tr-fromTpmPublic-nv.int \ |
Andreas Fuchs | e4af3a6 | 2018-04-12 14:20:37 +0200 | [diff] [blame] | 183 | test/integration/esys-tr-getName-hierarchy.int \ |
Juergen Repp | 0a3c1bb | 2018-04-12 11:02:34 +0200 | [diff] [blame] | 184 | test/integration/esys-unseal-password-auth.int \ |
Juergen Repp | 2e662d7 | 2018-04-12 11:05:05 +0200 | [diff] [blame] | 185 | test/integration/esys-verify-signature.int \ |
Juergen Repp | 0d6e278 | 2018-04-12 11:05:23 +0200 | [diff] [blame] | 186 | test/integration/esys-zgen-2phase.int |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 187 | endif #ESAPI |
| 188 | endif #SIMULATOR_BIN |
| 189 | |
| 190 | CLEANFILES += \ |
| 191 | test/integration/*.log \ |
| 192 | test/tpmclient/*.log \ |
| 193 | test/unit/*.log |
| 194 | |
| 195 | if UNIT |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 196 | test_unit_tcti_device_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 197 | test_unit_tcti_device_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 198 | test_unit_tcti_device_LDFLAGS = -Wl,--wrap=read -Wl,-wrap=write |
Philip Tricca | b8584ac | 2018-03-10 17:02:30 -0800 | [diff] [blame] | 199 | test_unit_tcti_device_SOURCES = test/unit/tcti-device.c \ |
Philip Tricca | 850bb59 | 2018-04-03 09:29:22 -0700 | [diff] [blame] | 200 | src/tss2-tcti/tcti-common.c src/tss2-tcti/tcti-common.h \ |
| 201 | src/tss2-tcti/tcti-device.c src/tss2-tcti/tcti-device.h |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 202 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 203 | test_unit_tcti_mssim_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(URIPARSER_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 204 | test_unit_tcti_mssim_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(URIPARSER_LIBS) $(libutil) |
Philip Tricca | addad78 | 2018-03-09 11:42:05 -0800 | [diff] [blame] | 205 | test_unit_tcti_mssim_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=select,--wrap=write |
Philip Tricca | 850bb59 | 2018-04-03 09:29:22 -0700 | [diff] [blame] | 206 | test_unit_tcti_mssim_SOURCES = test/unit/tcti-mssim.c \ |
| 207 | src/tss2-tcti/tcti-common.c src/tss2-tcti/tcti-common.h \ |
| 208 | src/tss2-tcti/tcti-mssim.c src/tss2-tcti/tcti-mssim.h |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 209 | |
Philip Tricca | 88ced72 | 2018-03-14 15:24:20 -0700 | [diff] [blame] | 210 | test_unit_io_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | 097cae6 | 2018-04-08 13:42:29 -0700 | [diff] [blame] | 211 | test_unit_io_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil) |
| 212 | test_unit_io_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=socket,--wrap=write |
Philip Tricca | 88ced72 | 2018-03-14 15:24:20 -0700 | [diff] [blame] | 213 | test_unit_io_SOURCES = test/unit/io.c |
Philip Tricca | 2bec2a8 | 2018-03-04 21:27:30 -0800 | [diff] [blame] | 214 | |
Philip Tricca | e394cff | 2018-04-18 08:36:06 -0700 | [diff] [blame^] | 215 | test_unit_key_value_parse_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 216 | test_unit_key_value_parse_LDADD = $(CMOCKA_LIBS) $(libutil) |
| 217 | test_unit_key_value_parse_SOURCES = test/unit/key-value-parse.c |
| 218 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 219 | test_unit_CommonPreparePrologue_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 220 | test_unit_CommonPreparePrologue_LDFLAGS = -Wl,--unresolved-symbols=ignore-all |
Philip Tricca | 5f0ab55 | 2018-03-10 18:18:29 -0800 | [diff] [blame] | 221 | test_unit_CommonPreparePrologue_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 222 | test_unit_CommonPreparePrologue_SOURCES = test/unit/CommonPreparePrologue.c |
| 223 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 224 | test_unit_GetNumHandles_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | 5f0ab55 | 2018-03-10 18:18:29 -0800 | [diff] [blame] | 225 | test_unit_GetNumHandles_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 226 | test_unit_GetNumHandles_SOURCES = test/unit/GetNumHandles.c |
| 227 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 228 | test_unit_CopyCommandHeader_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 229 | test_unit_CopyCommandHeader_LDFLAGS = -Wl,--unresolved-symbols=ignore-all |
Philip Tricca | 5f0ab55 | 2018-03-10 18:18:29 -0800 | [diff] [blame] | 230 | test_unit_CopyCommandHeader_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 231 | test_unit_CopyCommandHeader_SOURCES = test/unit/CopyCommandHeader.c |
| 232 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 233 | test_unit_UINT8_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 234 | test_unit_UINT8_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 235 | test_unit_UINT8_marshal_SOURCES = test/unit/UINT8-marshal.c |
| 236 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 237 | test_unit_UINT16_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 238 | test_unit_UINT16_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 239 | test_unit_UINT16_marshal_SOURCES = test/unit/UINT16-marshal.c |
| 240 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 241 | test_unit_UINT32_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 242 | test_unit_UINT32_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 243 | test_unit_UINT32_marshal_SOURCES = test/unit/UINT32-marshal.c |
| 244 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 245 | test_unit_UINT64_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 246 | test_unit_UINT64_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 247 | test_unit_UINT64_marshal_SOURCES = test/unit/UINT64-marshal.c |
| 248 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 249 | test_unit_TPMA_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 250 | test_unit_TPMA_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 251 | test_unit_TPMA_marshal_SOURCES = test/unit/TPMA-marshal.c |
| 252 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 253 | test_unit_TPM2B_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 254 | test_unit_TPM2B_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 255 | test_unit_TPM2B_marshal_SOURCES = test/unit/TPM2B-marshal.c |
| 256 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 257 | test_unit_TPMS_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 258 | test_unit_TPMS_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 259 | test_unit_TPMS_marshal_SOURCES = test/unit/TPMS-marshal.c |
| 260 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 261 | test_unit_TPML_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 262 | test_unit_TPML_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 263 | test_unit_TPML_marshal_SOURCES = test/unit/TPML-marshal.c |
| 264 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 265 | test_unit_TPMT_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 266 | test_unit_TPMT_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 267 | test_unit_TPMT_marshal_SOURCES = test/unit/TPMT-marshal.c |
| 268 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 269 | test_unit_TPMU_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 270 | test_unit_TPMU_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 271 | test_unit_TPMU_marshal_SOURCES = test/unit/TPMU-marshal.c |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 272 | |
| 273 | if ESAPI |
| 274 | test_unit_esys_context_null_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 275 | test_unit_esys_context_null_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 276 | test_unit_esys_context_null_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
Andreas Fuchs | 88ac7d7 | 2018-03-16 13:20:54 +0100 | [diff] [blame] | 277 | test_unit_esys_context_null_SOURCES = test/unit/esys-context-null.c |
| 278 | |
Andreas Fuchs | 5d9ce58 | 2018-03-21 19:05:47 +0100 | [diff] [blame] | 279 | test_unit_esys_default_tcti_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 280 | test_unit_esys_default_tcti_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 281 | test_unit_esys_default_tcti_LDFLAGS = \ |
| 282 | -Wl,--wrap=dlopen -Wl,-wrap=dlclose -Wl,-wrap=dlsym \ |
| 283 | -Wl,--wrap=Tss2_Tcti_Device_Init \ |
| 284 | -Wl,--wrap=Tss2_Tcti_Mssim_Init |
| 285 | test_unit_esys_default_tcti_SOURCES = test/unit/esys-default-tcti.c \ |
| 286 | src/tss2-esys/esys_tcti_default.c src/tss2-esys/esys_tcti_default.h |
| 287 | |
Andreas Fuchs | 88ac7d7 | 2018-03-16 13:20:54 +0100 | [diff] [blame] | 288 | test_unit_esys_resubmissions_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 289 | test_unit_esys_resubmissions_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 290 | test_unit_esys_resubmissions_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 291 | test_unit_esys_resubmissions_SOURCES = test/unit/esys-resubmissions.c |
Juergen Repp | 2018151 | 2018-03-20 16:14:28 +0100 | [diff] [blame] | 292 | |
| 293 | test_unit_esys_sequence_finish_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 294 | test_unit_esys_sequence_finish_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 295 | test_unit_esys_sequence_finish_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 296 | test_unit_esys_sequence_finish_SOURCES = test/unit/esys-sequence-finish.c |
Andreas Fuchs | 4879ad3 | 2018-04-12 14:48:06 +0200 | [diff] [blame] | 297 | |
| 298 | test_unit_esys_tcti_rcs_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 299 | test_unit_esys_tcti_rcs_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 300 | test_unit_esys_tcti_rcs_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 301 | test_unit_esys_tcti_rcs_SOURCES = test/unit/esys-tcti-rcs.c |
Andreas Fuchs | 72227dc | 2018-04-12 14:54:07 +0200 | [diff] [blame] | 302 | |
| 303 | test_unit_esys_tpm_rcs_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 304 | test_unit_esys_tpm_rcs_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 305 | test_unit_esys_tpm_rcs_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 306 | test_unit_esys_tpm_rcs_SOURCES = test/unit/esys-tpm-rcs.c |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 307 | endif # ESAPI |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 308 | endif # UNIT |
| 309 | |
| 310 | if SIMULATOR_BIN |
| 311 | test_tpmclient_tpmclient_int_CFLAGS = $(AM_CFLAGS) -U_FORTIFY_SOURCE $(TESTS_CFLAGS) |
| 312 | test_tpmclient_tpmclient_int_LDADD = $(TESTS_LDADD) |
| 313 | test_tpmclient_tpmclient_int_SOURCES = \ |
Tadeusz Struk | f517ee5 | 2018-04-23 19:00:10 -0700 | [diff] [blame] | 314 | test/tpmclient/tpmclient.int.c test/integration/main.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 315 | |
Andreas Fuchs | 1c4a811 | 2018-03-29 16:58:07 +0200 | [diff] [blame] | 316 | test_integration_libtest_utils_la_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 317 | test_integration_libtest_utils_la_SOURCES = \ |
| 318 | test/integration/context-util.c test/integration/context-util.h \ |
| 319 | test/integration/sapi-util.c test/integration/sapi-util.h \ |
Tadeusz Struk | 85208a4 | 2018-04-09 21:32:41 -0700 | [diff] [blame] | 320 | test/integration/session-util.c test/integration/session-util.h \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 321 | test/integration/test-options.c test/integration/test-options.h \ |
Tadeusz Struk | 134c93c | 2018-04-17 16:35:00 -0700 | [diff] [blame] | 322 | test/integration/entity-util.c test/integration/test.h |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 323 | |
| 324 | test_integration_asymmetric_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 325 | test_integration_asymmetric_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 326 | test_integration_asymmetric_encrypt_decrypt_int_SOURCES = \ |
| 327 | test/integration/asymmetric-encrypt-decrypt.int.c test/integration/main.c |
| 328 | |
| 329 | test_integration_create_primary_rsa_2048_aes_128_cfb_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 330 | test_integration_create_primary_rsa_2048_aes_128_cfb_int_LDADD = $(TESTS_LDADD) |
| 331 | test_integration_create_primary_rsa_2048_aes_128_cfb_int_SOURCES = \ |
| 332 | test/integration/create-primary-rsa-2048-aes-128-cfb.int.c \ |
| 333 | test/integration/main.c |
| 334 | |
| 335 | test_integration_create_keyedhash_sha1_hmac_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 336 | test_integration_create_keyedhash_sha1_hmac_int_LDADD = $(TESTS_LDADD) |
| 337 | test_integration_create_keyedhash_sha1_hmac_int_SOURCES = \ |
| 338 | test/integration/create-keyedhash-sha1-hmac.int.c test/integration/main.c |
| 339 | |
| 340 | test_integration_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 341 | test_integration_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 342 | test_integration_encrypt_decrypt_int_SOURCES = \ |
| 343 | test/integration/encrypt-decrypt.int.c test/integration/main.c |
| 344 | |
| 345 | test_integration_encrypt_decrypt_2_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 346 | test_integration_encrypt_decrypt_2_int_LDADD = $(TESTS_LDADD) |
| 347 | test_integration_encrypt_decrypt_2_int_SOURCES = \ |
| 348 | test/integration/encrypt-decrypt-2.int.c test/integration/main.c |
| 349 | |
| 350 | test_integration_evict_ctrl_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 351 | test_integration_evict_ctrl_int_LDADD = $(TESTS_LDADD) |
| 352 | test_integration_evict_ctrl_int_SOURCES = \ |
| 353 | test/integration/evict-ctrl.int.c test/integration/main.c |
| 354 | |
| 355 | test_integration_sys_initialize_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 356 | test_integration_sys_initialize_int_LDADD = $(TESTS_LDADD) |
| 357 | test_integration_sys_initialize_int_SOURCES = test/integration/sys-initialize.int.c \ |
| 358 | test/integration/main.c |
| 359 | |
| 360 | test_integration_get_random_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 361 | test_integration_get_random_int_LDADD = $(TESTS_LDADD) |
| 362 | test_integration_get_random_int_SOURCES = test/integration/get-random.int.c \ |
| 363 | test/integration/main.c |
| 364 | |
| 365 | test_integration_abi_version_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 366 | test_integration_abi_version_int_LDADD = $(TESTS_LDADD) |
| 367 | test_integration_abi_version_int_SOURCES = test/integration/abi-version.int.c \ |
| 368 | test/integration/main.c |
| 369 | |
| 370 | test_integration_pcr_extension_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 371 | test_integration_pcr_extension_int_LDADD = $(TESTS_LDADD) |
| 372 | test_integration_pcr_extension_int_SOURCES = test/integration/pcr-extension.int.c \ |
| 373 | test/integration/main.c |
| 374 | |
| 375 | test_integration_self_test_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 376 | test_integration_self_test_int_LDADD = $(TESTS_LDADD) |
| 377 | test_integration_self_test_int_SOURCES = test/integration/self-test.int.c \ |
| 378 | test/integration/main.c |
| 379 | |
| 380 | test_integration_hierarchy_change_auth_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 381 | test_integration_hierarchy_change_auth_int_LDADD = $(TESTS_LDADD) |
| 382 | test_integration_hierarchy_change_auth_int_SOURCES = \ |
| 383 | test/integration/hierarchy-change-auth.int.c test/integration/main.c |
| 384 | |
| 385 | test_integration_start_auth_session_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 386 | test_integration_start_auth_session_int_LDADD = $(TESTS_LDADD) |
| 387 | test_integration_start_auth_session_int_SOURCES = test/integration/main.c \ |
| 388 | test/integration/start-auth-session.int.c |
| 389 | |
| 390 | test_integration_tpm_properties_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 391 | test_integration_tpm_properties_int_LDADD = $(TESTS_LDADD) |
| 392 | test_integration_tpm_properties_int_SOURCES = test/integration/main.c \ |
| 393 | test/integration/tpm-properties.int.c |
| 394 | |
| 395 | test_integration_system_api_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 396 | test_integration_system_api_int_LDADD = $(TESTS_LDADD) |
| 397 | test_integration_system_api_int_SOURCES = test/integration/main.c \ |
| 398 | test/integration/system-api.int.c |
| 399 | |
| 400 | if ESAPI |
Juergen Repp | 607317b | 2018-04-12 10:34:57 +0200 | [diff] [blame] | 401 | test_integration_esys_audit_int_CFLAGS = $(TESTS_CFLAGS) |
| 402 | test_integration_esys_audit_int_LDADD = $(TESTS_LDADD) |
| 403 | test_integration_esys_audit_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 404 | test_integration_esys_audit_int_SOURCES = \ |
| 405 | test/integration/esys-audit.int.c \ |
| 406 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 407 | |
Juergen Repp | 43966fc | 2018-04-12 10:44:53 +0200 | [diff] [blame] | 408 | test_integration_esys_certify_creation_int_CFLAGS = $(TESTS_CFLAGS) |
| 409 | test_integration_esys_certify_creation_int_LDADD = $(TESTS_LDADD) |
| 410 | test_integration_esys_certify_creation_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 411 | test_integration_esys_certify_creation_int_SOURCES = \ |
| 412 | test/integration/esys-certify-creation.int.c \ |
| 413 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 414 | |
Juergen Repp | 77b9a0e | 2018-04-12 10:45:15 +0200 | [diff] [blame] | 415 | test_integration_esys_certify_int_CFLAGS = $(TESTS_CFLAGS) |
| 416 | test_integration_esys_certify_int_LDADD = $(TESTS_LDADD) |
| 417 | test_integration_esys_certify_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 418 | test_integration_esys_certify_int_SOURCES = \ |
| 419 | test/integration/esys-certify.int.c \ |
| 420 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 421 | |
Juergen Repp | 1645570 | 2018-04-12 10:45:49 +0200 | [diff] [blame] | 422 | test_integration_esys_change_eps_int_CFLAGS = $(TESTS_CFLAGS) |
| 423 | test_integration_esys_change_eps_int_LDADD = $(TESTS_LDADD) |
| 424 | test_integration_esys_change_eps_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 425 | test_integration_esys_change_eps_int_SOURCES = \ |
| 426 | test/integration/esys-change-eps.int.c \ |
| 427 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 428 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 429 | test_integration_esys_clear_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 430 | test_integration_esys_clear_int_LDADD = $(TESTS_LDADD) |
| 431 | test_integration_esys_clear_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 432 | test_integration_esys_clear_int_SOURCES = \ |
| 433 | test/integration/esys-clear.int.c \ |
| 434 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 435 | |
Juergen Repp | 658cd7d | 2018-04-12 10:46:25 +0200 | [diff] [blame] | 436 | test_integration_esys_clear_control_int_CFLAGS = $(TESTS_CFLAGS) |
| 437 | test_integration_esys_clear_control_int_LDADD = $(TESTS_LDADD) |
| 438 | test_integration_esys_clear_control_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 439 | test_integration_esys_clear_control_int_SOURCES = \ |
| 440 | test/integration/esys-clear-control.int.c \ |
| 441 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 442 | |
| 443 | test_integration_esys_clear_session_int_CFLAGS = $(TESTS_CFLAGS) -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 444 | test_integration_esys_clear_session_int_LDADD = $(TESTS_LDADD) |
| 445 | test_integration_esys_clear_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 446 | test_integration_esys_clear_session_int_SOURCES = \ |
| 447 | test/integration/esys-clear.int.c \ |
| 448 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 449 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 450 | test_integration_esys_clockset_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 451 | test_integration_esys_clockset_int_LDADD = $(TESTS_LDADD) |
| 452 | test_integration_esys_clockset_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 453 | test_integration_esys_clockset_int_SOURCES = \ |
| 454 | test/integration/esys-clockset.int.c \ |
| 455 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 456 | |
Juergen Repp | 0c2d853 | 2018-04-12 10:46:57 +0200 | [diff] [blame] | 457 | test_integration_esys_commit_int_CFLAGS = $(TESTS_CFLAGS) |
| 458 | test_integration_esys_commit_int_LDADD = $(TESTS_LDADD) |
| 459 | test_integration_esys_commit_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 460 | test_integration_esys_commit_int_SOURCES = \ |
| 461 | test/integration/esys-commit.int.c \ |
| 462 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 463 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 464 | test_integration_esys_create_fail_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 465 | test_integration_esys_create_fail_int_LDADD = $(TESTS_LDADD) |
| 466 | test_integration_esys_create_fail_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 467 | test_integration_esys_create_fail_int_SOURCES = \ |
| 468 | test/integration/esys-create-fail.int.c \ |
| 469 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 470 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 471 | test_integration_esys_createloaded_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 472 | test_integration_esys_createloaded_int_LDADD = $(TESTS_LDADD) |
| 473 | test_integration_esys_createloaded_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 474 | test_integration_esys_createloaded_int_SOURCES = \ |
| 475 | test/integration/esys-createloaded.int.c \ |
| 476 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 477 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 478 | test_integration_esys_createloaded_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 479 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 480 | test_integration_esys_createloaded_session_int_LDADD = $(TESTS_LDADD) |
| 481 | test_integration_esys_createloaded_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 482 | test_integration_esys_createloaded_session_int_SOURCES = \ |
| 483 | test/integration/esys-createloaded.int.c \ |
| 484 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 485 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 486 | test_integration_esys_create_password_auth_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 487 | test_integration_esys_create_password_auth_int_LDADD = $(TESTS_LDADD) |
| 488 | test_integration_esys_create_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 489 | test_integration_esys_create_password_auth_int_SOURCES = \ |
| 490 | test/integration/esys-create-password-auth.int.c \ |
| 491 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 492 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 493 | test_integration_esys_create_primary_ecc_hmac_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 494 | test_integration_esys_create_primary_ecc_hmac_int_LDADD = $(TESTS_LDADD) |
| 495 | test_integration_esys_create_primary_ecc_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 496 | test_integration_esys_create_primary_ecc_hmac_int_SOURCES = \ |
| 497 | test/integration/esys-create-primary-hmac.int.c \ |
| 498 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 499 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 500 | test_integration_esys_create_primary_hmac_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 501 | test_integration_esys_create_primary_hmac_int_LDADD = $(TESTS_LDADD) |
| 502 | test_integration_esys_create_primary_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 503 | test_integration_esys_create_primary_hmac_int_SOURCES = \ |
| 504 | test/integration/esys-create-primary-hmac.int.c \ |
| 505 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 506 | |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 507 | test_integration_esys_create_session_auth_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 508 | -DTEST_AES_ENCRYPTION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 509 | test_integration_esys_create_session_auth_int_LDADD = $(TESTS_LDADD) |
| 510 | test_integration_esys_create_session_auth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 511 | test_integration_esys_create_session_auth_int_SOURCES = \ |
| 512 | test/integration/esys-create-session-auth.int.c \ |
| 513 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 514 | |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 515 | test_integration_esys_create_session_auth_xor_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 516 | -DTEST_XOR_OBFUSCATION |
| 517 | test_integration_esys_create_session_auth_xor_int_LDADD = $(TESTS_LDADD) |
| 518 | test_integration_esys_create_session_auth_xor_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 519 | test_integration_esys_create_session_auth_xor_int_SOURCES = \ |
| 520 | test/integration/esys-create-session-auth.int.c \ |
| 521 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 522 | |
Juergen Repp | f477ded | 2018-03-27 14:40:35 +0200 | [diff] [blame] | 523 | test_integration_esys_duplicate_int_CFLAGS = $(TESTS_CFLAGS) |
| 524 | test_integration_esys_duplicate_int_LDADD = $(TESTS_LDADD) |
| 525 | test_integration_esys_duplicate_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 526 | test_integration_esys_duplicate_int_SOURCES = \ |
| 527 | test/integration/esys-duplicate.int.c \ |
| 528 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 529 | |
Juergen Repp | 0d884d5 | 2018-04-12 10:48:07 +0200 | [diff] [blame] | 530 | test_integration_esys_ecc_parameters_int_CFLAGS = $(TESTS_CFLAGS) |
| 531 | test_integration_esys_ecc_parameters_int_LDADD = $(TESTS_LDADD) |
| 532 | test_integration_esys_ecc_parameters_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 533 | test_integration_esys_ecc_parameters_int_SOURCES = \ |
| 534 | test/integration/esys-ecc-parameters.int.c \ |
| 535 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 536 | |
Juergen Repp | 472840f | 2018-04-12 10:48:38 +0200 | [diff] [blame] | 537 | test_integration_esys_ecdh_keygen_int_CFLAGS = $(TESTS_CFLAGS) |
| 538 | test_integration_esys_ecdh_keygen_int_LDADD = $(TESTS_LDADD) |
| 539 | test_integration_esys_ecdh_keygen_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 540 | test_integration_esys_ecdh_keygen_int_SOURCES = \ |
| 541 | test/integration/esys-ecdh-keygen.int.c \ |
| 542 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 543 | |
Juergen Repp | 73461b4 | 2018-04-12 10:49:10 +0200 | [diff] [blame] | 544 | test_integration_esys_ecdh_zgen_int_CFLAGS = $(TESTS_CFLAGS) |
| 545 | test_integration_esys_ecdh_zgen_int_LDADD = $(TESTS_LDADD) |
| 546 | test_integration_esys_ecdh_zgen_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 547 | test_integration_esys_ecdh_zgen_int_SOURCES = \ |
| 548 | test/integration/esys-ecdh-zgen.int.c \ |
| 549 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 550 | |
Juergen Repp | cd10125 | 2018-04-12 10:50:21 +0200 | [diff] [blame] | 551 | test_integration_esys_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS) |
| 552 | test_integration_esys_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 553 | test_integration_esys_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 554 | test_integration_esys_encrypt_decrypt_int_SOURCES = \ |
| 555 | test/integration/esys-encrypt-decrypt.int.c \ |
| 556 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 557 | |
Juergen Repp | 7de9fbf | 2018-04-12 10:50:57 +0200 | [diff] [blame] | 558 | test_integration_esys_event_sequence_complete_int_CFLAGS = $(TESTS_CFLAGS) |
| 559 | test_integration_esys_event_sequence_complete_int_LDADD = $(TESTS_LDADD) |
| 560 | test_integration_esys_event_sequence_complete_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 561 | test_integration_esys_event_sequence_complete_int_SOURCES = \ |
| 562 | test/integration/esys-event-sequence-complete.int.c \ |
| 563 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 564 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 565 | test_integration_esys_evict_control_serialization_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 566 | test_integration_esys_evict_control_serialization_int_LDADD = $(TESTS_LDADD) |
| 567 | test_integration_esys_evict_control_serialization_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 568 | test_integration_esys_evict_control_serialization_int_SOURCES = \ |
| 569 | test/integration/esys-evict-control-serialization.int.c \ |
| 570 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 571 | |
Juergen Repp | 4ffdf0f | 2018-04-12 10:51:27 +0200 | [diff] [blame] | 572 | test_integration_esys_field_upgrade_int_CFLAGS = $(TESTS_CFLAGS) |
| 573 | test_integration_esys_field_upgrade_int_LDADD = $(TESTS_LDADD) |
| 574 | test_integration_esys_field_upgrade_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 575 | test_integration_esys_field_upgrade_int_SOURCES = \ |
| 576 | test/integration/esys-field-upgrade.int.c \ |
| 577 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 578 | |
Juergen Repp | 841eeb4 | 2018-04-12 10:51:49 +0200 | [diff] [blame] | 579 | test_integration_esys_firmware_read_int_CFLAGS = $(TESTS_CFLAGS) |
| 580 | test_integration_esys_firmware_read_int_LDADD = $(TESTS_LDADD) |
| 581 | test_integration_esys_firmware_read_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 582 | test_integration_esys_firmware_read_int_SOURCES = \ |
| 583 | test/integration/esys-firmware-read.int.c \ |
| 584 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 585 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 586 | test_integration_esys_get_capability_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 587 | test_integration_esys_get_capability_int_LDADD = $(TESTS_LDADD) |
| 588 | test_integration_esys_get_capability_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 589 | test_integration_esys_get_capability_int_SOURCES = \ |
| 590 | test/integration/esys-get-capability.int.c \ |
| 591 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 592 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 593 | test_integration_esys_get_random_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 594 | test_integration_esys_get_random_int_LDADD = $(TESTS_LDADD) |
| 595 | test_integration_esys_get_random_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 596 | test_integration_esys_get_random_int_SOURCES = \ |
| 597 | test/integration/esys-get-random.int.c \ |
| 598 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 599 | |
Juergen Repp | d6ed8f2 | 2018-04-12 10:52:19 +0200 | [diff] [blame] | 600 | test_integration_esys_get_time_int_CFLAGS = $(TESTS_CFLAGS) |
| 601 | test_integration_esys_get_time_int_LDADD = $(TESTS_LDADD) |
| 602 | test_integration_esys_get_time_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 603 | test_integration_esys_get_time_int_SOURCES = \ |
| 604 | test/integration/esys-get-time.int.c \ |
| 605 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 606 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 607 | test_integration_esys_hashsequencestart_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 608 | test_integration_esys_hashsequencestart_int_LDADD = $(TESTS_LDADD) |
| 609 | test_integration_esys_hashsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 610 | test_integration_esys_hashsequencestart_int_SOURCES = \ |
| 611 | test/integration/esys-hashsequencestart.int.c \ |
| 612 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 613 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 614 | test_integration_esys_hashsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 615 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 616 | test_integration_esys_hashsequencestart_session_int_LDADD = $(TESTS_LDADD) |
| 617 | test_integration_esys_hashsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 618 | test_integration_esys_hashsequencestart_session_int_SOURCES = \ |
| 619 | test/integration/esys-hashsequencestart.int.c \ |
| 620 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 621 | |
Juergen Repp | 9f394f2 | 2018-04-12 10:52:35 +0200 | [diff] [blame] | 622 | test_integration_esys_hierarchy_control_int_CFLAGS = $(TESTS_CFLAGS) |
| 623 | test_integration_esys_hierarchy_control_int_LDADD = $(TESTS_LDADD) |
| 624 | test_integration_esys_hierarchy_control_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 625 | test_integration_esys_hierarchy_control_int_SOURCES = \ |
| 626 | test/integration/esys-hierarchy-control.int.c \ |
| 627 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 628 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 629 | test_integration_esys_hmacsequencestart_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 630 | test_integration_esys_hmacsequencestart_int_LDADD = $(TESTS_LDADD) |
| 631 | test_integration_esys_hmacsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 632 | test_integration_esys_hmacsequencestart_int_SOURCES = \ |
| 633 | test/integration/esys-hmacsequencestart.int.c \ |
| 634 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 635 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 636 | test_integration_esys_hmacsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 637 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 638 | test_integration_esys_hmacsequencestart_session_int_LDADD = $(TESTS_LDADD) |
| 639 | test_integration_esys_hmacsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 640 | test_integration_esys_hmacsequencestart_session_int_SOURCES = \ |
| 641 | test/integration/esys-hmacsequencestart.int.c \ |
| 642 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 643 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 644 | test_integration_esys_hierarchychangeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 645 | test_integration_esys_hierarchychangeauth_int_LDADD = $(TESTS_LDADD) |
| 646 | test_integration_esys_hierarchychangeauth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 647 | test_integration_esys_hierarchychangeauth_int_SOURCES = \ |
| 648 | test/integration/esys-hierarchychangeauth.int.c \ |
| 649 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 650 | |
Juergen Repp | efacad1 | 2018-04-12 10:53:12 +0200 | [diff] [blame] | 651 | test_integration_esys_import_int_CFLAGS = $(TESTS_CFLAGS) |
| 652 | test_integration_esys_import_int_LDADD = $(TESTS_LDADD) |
| 653 | test_integration_esys_import_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 654 | test_integration_esys_import_int_SOURCES = \ |
| 655 | test/integration/esys-import.int.c \ |
| 656 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 657 | |
Juergen Repp | 5302883 | 2018-04-12 10:53:30 +0200 | [diff] [blame] | 658 | test_integration_esys_lock_int_CFLAGS = $(TESTS_CFLAGS) |
| 659 | test_integration_esys_lock_int_LDADD = $(TESTS_LDADD) |
| 660 | test_integration_esys_lock_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 661 | test_integration_esys_lock_int_SOURCES = \ |
| 662 | test/integration/esys-lock.int.c \ |
| 663 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 664 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 665 | test_integration_esys_make_credential_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 666 | test_integration_esys_make_credential_int_LDADD = $(TESTS_LDADD) |
| 667 | test_integration_esys_make_credential_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 668 | test_integration_esys_make_credential_int_SOURCES = \ |
| 669 | test/integration/esys-make-credential.int.c \ |
| 670 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 671 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 672 | test_integration_esys_make_credential_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 673 | -DTEST_SESSION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 674 | test_integration_esys_make_credential_session_int_LDADD = $(TESTS_LDADD) |
| 675 | test_integration_esys_make_credential_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 676 | test_integration_esys_make_credential_session_int_SOURCES = \ |
| 677 | test/integration/esys-make-credential.int.c \ |
| 678 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 679 | |
Juergen Repp | 090bcef | 2018-04-12 10:53:49 +0200 | [diff] [blame] | 680 | test_integration_esys_nv_certify_int_CFLAGS = $(TESTS_CFLAGS) |
| 681 | test_integration_esys_nv_certify_int_LDADD = $(TESTS_LDADD) |
| 682 | test_integration_esys_nv_certify_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 683 | test_integration_esys_nv_certify_int_SOURCES = \ |
| 684 | test/integration/esys-nv-certify.int.c \ |
| 685 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 686 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 687 | test_integration_esys_nv_ram_counter_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 688 | test_integration_esys_nv_ram_counter_int_LDADD = $(TESTS_LDADD) |
| 689 | test_integration_esys_nv_ram_counter_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 690 | test_integration_esys_nv_ram_counter_int_SOURCES = \ |
| 691 | test/integration/esys-nv-ram-counter.int.c \ |
| 692 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 693 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 694 | test_integration_esys_nv_ram_counter_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 695 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 696 | test_integration_esys_nv_ram_counter_session_int_LDADD = $(TESTS_LDADD) |
| 697 | test_integration_esys_nv_ram_counter_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 698 | test_integration_esys_nv_ram_counter_session_int_SOURCES = \ |
| 699 | test/integration/esys-nv-ram-counter.int.c \ |
| 700 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 701 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 702 | test_integration_esys_nv_ram_extend_index_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 703 | test_integration_esys_nv_ram_extend_index_int_LDADD = $(TESTS_LDADD) |
| 704 | test_integration_esys_nv_ram_extend_index_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 705 | test_integration_esys_nv_ram_extend_index_int_SOURCES = \ |
| 706 | test/integration/esys-nv-ram-extend-index.int.c \ |
| 707 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 708 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 709 | test_integration_esys_nv_ram_extend_index_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 710 | -DTEST_SESSION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 711 | test_integration_esys_nv_ram_extend_index_session_int_LDADD = $(TESTS_LDADD) |
| 712 | test_integration_esys_nv_ram_extend_index_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 713 | test_integration_esys_nv_ram_extend_index_session_int_SOURCES = \ |
| 714 | test/integration/esys-nv-ram-extend-index.int.c \ |
| 715 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 716 | |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 717 | test_integration_esys_nv_ram_ordinary_index_rlock_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 718 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/test/integration/ \ |
| 719 | -I$(srcdir)/src/esapi/esapi_util -DTEST_READ_LOCK |
| 720 | test_integration_esys_nv_ram_ordinary_index_rlock_int_LDADD = $(TESTS_LDADD) |
| 721 | test_integration_esys_nv_ram_ordinary_index_rlock_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 722 | test_integration_esys_nv_ram_ordinary_index_rlock_int_SOURCES = \ |
Andreas Fuchs | 8a19179 | 2018-04-10 14:34:58 +0200 | [diff] [blame] | 723 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 724 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 725 | |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 726 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 727 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \ |
| 728 | -I$(srcdir)/src/esapi/esapi_util -DTEST_SESSION -DTEST_READ_LOCK |
| 729 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_LDADD = $(TESTS_LDADD) |
| 730 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 731 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_SOURCES = \ |
| 732 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 733 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 734 | |
| 735 | test_integration_esys_nv_ram_ordinary_index_wlock_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 736 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \ |
| 737 | -I$(srcdir)/src/esapi/esapi_util -DTEST_WRITE_LOCK |
| 738 | test_integration_esys_nv_ram_ordinary_index_wlock_int_LDADD = $(TESTS_LDADD) |
| 739 | test_integration_esys_nv_ram_ordinary_index_wlock_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 740 | test_integration_esys_nv_ram_ordinary_index_wlock_int_SOURCES = \ |
| 741 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 742 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 743 | |
| 744 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 745 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \ |
| 746 | -I$(srcdir)/src/esapi/esapi_util -DTEST_SESSION -DTEST_WRITE_LOCK |
| 747 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_LDADD = $(TESTS_LDADD) |
| 748 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 749 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_SOURCES = \ |
Andreas Fuchs | 8a19179 | 2018-04-10 14:34:58 +0200 | [diff] [blame] | 750 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 751 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 752 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 753 | test_integration_esys_nv_ram_set_bits_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 754 | test_integration_esys_nv_ram_set_bits_int_LDADD = $(TESTS_LDADD) |
| 755 | test_integration_esys_nv_ram_set_bits_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 756 | test_integration_esys_nv_ram_set_bits_int_SOURCES = \ |
| 757 | test/integration/esys-nv-ram-set-bits.int.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 758 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 759 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 760 | test_integration_esys_nv_ram_set_bits_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 761 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 762 | test_integration_esys_nv_ram_set_bits_session_int_LDADD = $(TESTS_LDADD) |
| 763 | test_integration_esys_nv_ram_set_bits_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 764 | test_integration_esys_nv_ram_set_bits_session_int_SOURCES = \ |
| 765 | test/integration/esys-nv-ram-set-bits.int.c \ |
| 766 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 767 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 768 | test_integration_esys_object_changeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 769 | test_integration_esys_object_changeauth_int_LDADD = $(TESTS_LDADD) |
| 770 | test_integration_esys_object_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 771 | test_integration_esys_object_changeauth_int_SOURCES = \ |
| 772 | test/integration/esys-object-changeauth.int.c \ |
| 773 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 774 | |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 775 | test_integration_esys_policy_authorize_int_CFLAGS = $(TESTS_CFLAGS) |
| 776 | test_integration_esys_policy_authorize_int_LDADD = $(TESTS_LDADD) |
| 777 | test_integration_esys_policy_authorize_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 778 | test_integration_esys_policy_authorize_int_SOURCES = \ |
| 779 | test/integration/esys-policy-authorize.int.c \ |
| 780 | src/tss2-esys/esys_crypto.c \ |
Juergen Repp | 731135d | 2018-03-27 14:43:03 +0200 | [diff] [blame] | 781 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 782 | |
Juergen Repp | d93eb3d | 2018-04-12 11:29:16 +0200 | [diff] [blame] | 783 | test_integration_esys_policy_regression_int_CFLAGS = $(TESTS_CFLAGS) |
| 784 | test_integration_esys_policy_regression_int_LDADD = $(TESTS_LDADD) |
| 785 | test_integration_esys_policy_regression_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 786 | test_integration_esys_policy_regression_int_SOURCES = \ |
| 787 | test/integration/esys-policy-regression.int.c \ |
| 788 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 789 | |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 790 | test_integration_esys_policy_ticket_int_CFLAGS = $(TESTS_CFLAGS) |
| 791 | test_integration_esys_policy_ticket_int_LDADD = $(TESTS_LDADD) |
| 792 | test_integration_esys_policy_ticket_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 793 | test_integration_esys_policy_ticket_int_SOURCES = \ |
| 794 | test/integration/esys-policy-ticket.int.c \ |
| 795 | src/tss2-esys/esys_crypto.c \ |
Juergen Repp | 731135d | 2018-03-27 14:43:03 +0200 | [diff] [blame] | 796 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 797 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 798 | test_integration_esys_policy_nv_changeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 799 | test_integration_esys_policy_nv_changeauth_int_LDADD = $(TESTS_LDADD) |
| 800 | test_integration_esys_policy_nv_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 801 | test_integration_esys_policy_nv_changeauth_int_SOURCES = \ |
| 802 | test/integration/esys-policy-nv-changeauth.int.c \ |
| 803 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 804 | |
Juergen Repp | 4cac282 | 2018-04-12 10:58:39 +0200 | [diff] [blame] | 805 | test_integration_esys_policy_nv_undefine_special_int_CFLAGS = $(TESTS_CFLAGS) |
| 806 | test_integration_esys_policy_nv_undefine_special_int_LDADD = $(TESTS_LDADD) |
| 807 | test_integration_esys_policy_nv_undefine_special_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 808 | test_integration_esys_policy_nv_undefine_special_int_SOURCES = \ |
| 809 | test/integration/esys-policy-nv-undefine-special.int.c \ |
| 810 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 811 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 812 | test_integration_esys_policy_password_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 813 | test_integration_esys_policy_password_int_LDADD = $(TESTS_LDADD) |
| 814 | test_integration_esys_policy_password_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 815 | test_integration_esys_policy_password_int_SOURCES = \ |
| 816 | test/integration/esys-policy-password.int.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 817 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 818 | |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 819 | test_integration_esys_pcr_basic_int_CFLAGS = $(TESTS_CFLAGS) |
| 820 | test_integration_esys_pcr_basic_int_LDADD = $(TESTS_LDADD) |
| 821 | test_integration_esys_pcr_basic_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 822 | test_integration_esys_pcr_basic_int_SOURCES = \ |
| 823 | test/integration/esys-pcr-basic.int.c \ |
| 824 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 825 | |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 826 | test_integration_esys_pcr_auth_value_int_CFLAGS = $(TESTS_CFLAGS) |
| 827 | test_integration_esys_pcr_auth_value_int_LDADD = $(TESTS_LDADD) |
| 828 | test_integration_esys_pcr_auth_value_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 829 | test_integration_esys_pcr_auth_value_int_SOURCES = \ |
| 830 | test/integration/esys-pcr-auth-value.int.c \ |
| 831 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 832 | |
Juergen Repp | 91ed3de | 2018-04-12 11:01:30 +0200 | [diff] [blame] | 833 | test_integration_esys_pp_commands_int_CFLAGS = $(TESTS_CFLAGS) |
| 834 | test_integration_esys_pp_commands_int_LDADD = $(TESTS_LDADD) |
| 835 | test_integration_esys_pp_commands_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 836 | test_integration_esys_pp_commands_int_SOURCES = \ |
| 837 | test/integration/esys-pp-commands.int.c \ |
| 838 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 839 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 840 | test_integration_esys_quote_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 841 | test_integration_esys_quote_int_LDADD = $(TESTS_LDADD) |
| 842 | test_integration_esys_quote_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 843 | test_integration_esys_quote_int_SOURCES = \ |
| 844 | test/integration/esys-quote.int.c \ |
| 845 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 846 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 847 | test_integration_esys_rsa_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 848 | test_integration_esys_rsa_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 849 | test_integration_esys_rsa_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 850 | test_integration_esys_rsa_encrypt_decrypt_int_SOURCES = \ |
| 851 | test/integration/esys-rsa-encrypt-decrypt.int.c \ |
| 852 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 853 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 854 | test_integration_esys_save_and_load_context_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 855 | test_integration_esys_save_and_load_context_int_LDADD = $(TESTS_LDADD) |
| 856 | test_integration_esys_save_and_load_context_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 857 | test_integration_esys_save_and_load_context_int_SOURCES = \ |
| 858 | test/integration/esys-save-and-load-context.int.c \ |
| 859 | test/integration/main-esapi.c test/integration/test-esapi.h |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 860 | |
Juergen Repp | 0a3c1bb | 2018-04-12 11:02:34 +0200 | [diff] [blame] | 861 | test_integration_esys_set_algorithm_set_int_CFLAGS = $(TESTS_CFLAGS) |
| 862 | test_integration_esys_set_algorithm_set_int_LDADD = $(TESTS_LDADD) |
| 863 | test_integration_esys_set_algorithm_set_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 864 | test_integration_esys_set_algorithm_set_int_SOURCES = \ |
| 865 | test/integration/esys-set-algorithm-set.int.c \ |
| 866 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 867 | |
Juergen Repp | a3c6e2d | 2018-04-12 11:03:30 +0200 | [diff] [blame] | 868 | test_integration_esys_stir_random_int_CFLAGS = $(TESTS_CFLAGS) |
| 869 | test_integration_esys_stir_random_int_LDADD = $(TESTS_LDADD) |
| 870 | test_integration_esys_stir_random_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 871 | test_integration_esys_stir_random_int_SOURCES = \ |
| 872 | test/integration/esys-stir-random.int.c \ |
| 873 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 874 | |
Juergen Repp | cd6c1a1 | 2018-04-12 11:04:06 +0200 | [diff] [blame] | 875 | test_integration_esys_testparms_int_CFLAGS = $(TESTS_CFLAGS) |
| 876 | test_integration_esys_testparms_int_LDADD = $(TESTS_LDADD) |
| 877 | test_integration_esys_testparms_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 878 | test_integration_esys_testparms_int_SOURCES = \ |
| 879 | test/integration/esys-testparms.int.c \ |
| 880 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 881 | |
Juergen Repp | 24f4acb | 2018-04-12 11:04:27 +0200 | [diff] [blame] | 882 | test_integration_esys_tpm_tests_int_CFLAGS = $(TESTS_CFLAGS) |
| 883 | test_integration_esys_tpm_tests_int_LDADD = $(TESTS_LDADD) |
| 884 | test_integration_esys_tpm_tests_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 885 | test_integration_esys_tpm_tests_int_SOURCES = \ |
| 886 | test/integration/esys-tpm-tests.int.c \ |
| 887 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 888 | |
Andreas Fuchs | 722d85f | 2018-04-12 14:05:40 +0200 | [diff] [blame] | 889 | test_integration_esys_tr_fromTpmPublic_key_int_CFLAGS = $(TESTS_CFLAGS) |
| 890 | test_integration_esys_tr_fromTpmPublic_key_int_LDADD = $(TESTS_LDADD) |
| 891 | test_integration_esys_tr_fromTpmPublic_key_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 892 | test_integration_esys_tr_fromTpmPublic_key_int_SOURCES = \ |
| 893 | test/integration/esys-tr-fromTpmPublic-key.int.c \ |
| 894 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 895 | |
Andreas Fuchs | 95809e2 | 2018-04-12 12:21:06 +0200 | [diff] [blame] | 896 | test_integration_esys_tr_fromTpmPublic_nv_int_CFLAGS = $(TESTS_CFLAGS) |
| 897 | test_integration_esys_tr_fromTpmPublic_nv_int_LDADD = $(TESTS_LDADD) |
| 898 | test_integration_esys_tr_fromTpmPublic_nv_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 899 | test_integration_esys_tr_fromTpmPublic_nv_int_SOURCES = \ |
| 900 | test/integration/esys-tr-fromTpmPublic-nv.int.c \ |
| 901 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 902 | |
Andreas Fuchs | e4af3a6 | 2018-04-12 14:20:37 +0200 | [diff] [blame] | 903 | test_integration_esys_tr_getName_hierarchy_int_CFLAGS = $(TESTS_CFLAGS) |
| 904 | test_integration_esys_tr_getName_hierarchy_int_LDADD = $(TESTS_LDADD) |
| 905 | test_integration_esys_tr_getName_hierarchy_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 906 | test_integration_esys_tr_getName_hierarchy_int_SOURCES = \ |
| 907 | test/integration/esys-tr-getName-hierarchy.int.c \ |
| 908 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 909 | |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 910 | test_integration_esys_unseal_password_auth_int_CFLAGS = $(TESTS_CFLAGS) |
| 911 | test_integration_esys_unseal_password_auth_int_LDADD = $(TESTS_LDADD) |
| 912 | test_integration_esys_unseal_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 913 | test_integration_esys_unseal_password_auth_int_SOURCES = \ |
| 914 | test/integration/esys-unseal-password-auth.int.c \ |
| 915 | test/integration/main-esapi.c test/integration/test-esapi.h |
Juergen Repp | 2e662d7 | 2018-04-12 11:05:05 +0200 | [diff] [blame] | 916 | |
| 917 | test_integration_esys_verify_signature_int_CFLAGS = $(TESTS_CFLAGS) |
| 918 | test_integration_esys_verify_signature_int_LDADD = $(TESTS_LDADD) |
| 919 | test_integration_esys_verify_signature_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 920 | test_integration_esys_verify_signature_int_SOURCES = \ |
| 921 | test/integration/esys-verify-signature.int.c \ |
| 922 | test/integration/main-esapi.c test/integration/test-esapi.h |
Juergen Repp | 0d6e278 | 2018-04-12 11:05:23 +0200 | [diff] [blame] | 923 | |
| 924 | test_integration_esys_zgen_2phase_int_CFLAGS = $(TESTS_CFLAGS) |
| 925 | test_integration_esys_zgen_2phase_int_LDADD = $(TESTS_LDADD) |
| 926 | test_integration_esys_zgen_2phase_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 927 | test_integration_esys_zgen_2phase_int_SOURCES = \ |
| 928 | test/integration/esys-zgen-2phase.int.c \ |
| 929 | test/integration/main-esapi.c test/integration/test-esapi.h |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 930 | endif #ESAPI |
| 931 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 932 | test_integration_policy_template_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 933 | test_integration_policy_template_int_LDADD = $(TESTS_LDADD) |
| 934 | test_integration_policy_template_int_SOURCES = test/integration/main.c \ |
| 935 | test/integration/policy-template.int.c |
| 936 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 937 | test_integration_create_loaded_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 938 | test_integration_create_loaded_int_LDADD = $(TESTS_LDADD) |
| 939 | test_integration_create_loaded_int_SOURCES = test/integration/main.c \ |
| 940 | test/integration/create-loaded.int.c |
| 941 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 942 | test_integration_policy_authorizeNV_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 943 | test_integration_policy_authorizeNV_int_LDADD = $(TESTS_LDADD) |
Philip Tricca | a7c51ce | 2018-03-10 18:28:25 -0800 | [diff] [blame] | 944 | test_integration_policy_authorizeNV_int_SOURCES = test/integration/main.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 945 | test/integration/policy-authorizeNV.int.c |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 946 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 947 | test_integration_command_cancel_int_CFLAGS = $(TESTS_CFLAGS) |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 948 | test_integration_command_cancel_int_LDADD = $(TESTS_LDADD) |
Philip Tricca | a7c51ce | 2018-03-10 18:28:25 -0800 | [diff] [blame] | 949 | test_integration_command_cancel_int_SOURCES = test/integration/main.c \ |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 950 | test/integration/command-cancel.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 951 | endif #SIMULATOR_BIN |