Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1 | #;**********************************************************************; |
| 2 | # Copyright (c) 2015, 2016, 2017 Intel Corporation |
| 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 | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 29 | TESTS_CFLAGS = $(AM_CFLAGS) $(LIBCRYPTO_CFLAGS) -I$(srcdir)/marshal \ |
| 30 | -I$(srcdir)/sysapi/include -I$(srcdir)/esapi/esapi_util |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 31 | TESTS_LDADD = $(noinst_LTLIBRARIES) $(lib_LTLIBRARIES) $(LIBCRYPTO_LIBS) $(libutil) |
| 32 | |
| 33 | # test harness configuration |
| 34 | TEST_EXTENSIONS = .int |
| 35 | INT_LOG_COMPILER = $(srcdir)/script/int-log-compiler.sh |
| 36 | INT_LOG_FLAGS = --simulator-bin=$(SIMULATOR_BIN) |
| 37 | EXTRA_DIST += $(INT_LOG_COMPILER) |
| 38 | |
| 39 | check-programs: $(check_PROGRAMS) |
| 40 | |
| 41 | check_PROGRAMS = $(TESTS_UNIT) $(TESTS_INTEGRATION) |
| 42 | TESTS = $(check_PROGRAMS) |
| 43 | |
| 44 | if UNIT |
| 45 | TESTS_UNIT = \ |
| 46 | test/unit/CommonPreparePrologue \ |
| 47 | test/unit/CopyCommandHeader \ |
| 48 | test/unit/GetNumHandles \ |
Philip Tricca | 2bec2a8 | 2018-03-04 21:27:30 -0800 | [diff] [blame] | 49 | test/unit/socket \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 50 | test/unit/tcti-device \ |
Philip Tricca | addad78 | 2018-03-09 11:42:05 -0800 | [diff] [blame] | 51 | test/unit/tcti-mssim \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 52 | test/unit/util \ |
| 53 | test/unit/UINT8-marshal \ |
| 54 | test/unit/UINT16-marshal \ |
| 55 | test/unit/UINT32-marshal \ |
| 56 | test/unit/UINT64-marshal \ |
| 57 | test/unit/TPMA-marshal \ |
| 58 | test/unit/TPM2B-marshal \ |
| 59 | test/unit/TPMS-marshal \ |
| 60 | test/unit/TPML-marshal \ |
| 61 | test/unit/TPMT-marshal \ |
| 62 | test/unit/TPMU-marshal |
| 63 | endif #UNIT |
| 64 | |
| 65 | if SIMULATOR_BIN |
| 66 | noinst_LTLIBRARIES += test/integration/libtest_utils.la |
| 67 | TESTS_INTEGRATION = \ |
| 68 | test/integration/asymmetric-encrypt-decrypt.int \ |
| 69 | test/integration/create-primary-rsa-2048-aes-128-cfb.int \ |
| 70 | test/integration/create-keyedhash-sha1-hmac.int \ |
| 71 | test/integration/encrypt-decrypt.int \ |
| 72 | test/integration/encrypt-decrypt-2.int \ |
| 73 | test/integration/evict-ctrl.int \ |
| 74 | test/integration/get-random.int \ |
| 75 | test/integration/hierarchy-change-auth.int \ |
| 76 | test/integration/abi-version.int \ |
| 77 | test/integration/pcr-extension.int \ |
| 78 | test/integration/self-test.int \ |
| 79 | test/integration/start-auth-session.int \ |
| 80 | test/integration/sys-initialize.int \ |
| 81 | test/integration/tpm-properties.int \ |
| 82 | test/integration/system-api.int \ |
| 83 | test/integration/policy-template.int \ |
| 84 | test/integration/create-loaded.int \ |
| 85 | test/integration/policy-authorizeNV.int \ |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 86 | test/integration/command-cancel.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 87 | test/tpmclient/tpmclient.int |
| 88 | if ESAPI |
| 89 | TESTS_INTEGRATION += \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 90 | test/integration/esys-clear.int \ |
| 91 | test/integration/esys-clear-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 92 | test/integration/esys-clockset.int \ |
| 93 | test/integration/esys-clockset-session.int \ |
| 94 | test/integration/esys-create-fail.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 95 | test/integration/esys-createloaded.int \ |
| 96 | test/integration/esys-createloaded-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 97 | test/integration/esys-create-password-auth.int \ |
| 98 | test/integration/esys-create-primary-ecc-hmac.int \ |
| 99 | test/integration/esys-create-primary-hmac.int \ |
| 100 | test/integration/esys-create-session-auth.int \ |
| 101 | test/integration/esys-evict-control-serialization.int \ |
| 102 | test/integration/esys-get-capability.int \ |
| 103 | test/integration/esys-get-random.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 104 | test/integration/esys-hashsequencestart.int \ |
| 105 | test/integration/esys-hashsequencestart-session.int \ |
| 106 | test/integration/esys-hierarchychangeauth.int \ |
| 107 | test/integration/esys-hmacsequencestart.int \ |
| 108 | test/integration/esys-hmacsequencestart-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 109 | test/integration/esys-make-credential.int \ |
| 110 | test/integration/esys-make-credential-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 111 | test/integration/esys-nv-ram-counter.int \ |
| 112 | test/integration/esys-nv-ram-counter-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 113 | test/integration/esys-nv-ram-extend-index.int \ |
| 114 | test/integration/esys-nv-ram-extend-index-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 115 | test/integration/esys-nv-ram-set-bits.int \ |
| 116 | test/integration/esys-nv-ram-set-bits-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 117 | test/integration/esys-quote.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 118 | test/integration/esys-object-changeauth.int \ |
| 119 | test/integration/esys-policy-nv-changeauth.int \ |
| 120 | test/integration/esys-policy-password.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 121 | test/integration/esys-rsa-encrypt-decrypt.int \ |
| 122 | test/integration/esys-save-and-load-context.int |
| 123 | endif #ESAPI |
| 124 | endif #SIMULATOR_BIN |
| 125 | |
| 126 | CLEANFILES += \ |
| 127 | test/integration/*.log \ |
| 128 | test/tpmclient/*.log \ |
| 129 | test/unit/*.log |
| 130 | |
| 131 | if UNIT |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 132 | test_unit_util_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | 7a10ee3 | 2018-03-06 12:48:39 -0800 | [diff] [blame] | 133 | test_unit_util_LDADD = $(CMOCKA_LIBS) $(libutil) $(libmarshal) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 134 | test_unit_util_LDFLAGS = -Wl,--wrap=write |
| 135 | test_unit_util_SOURCES = test/unit/util.c |
| 136 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 137 | test_unit_tcti_device_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 138 | test_unit_tcti_device_LDADD = $(CMOCKA_LIBS) $(libmarshal) $(libutil) |
| 139 | test_unit_tcti_device_LDFLAGS = -Wl,--wrap=read -Wl,-wrap=write |
| 140 | test_unit_tcti_device_SOURCES = test/unit/tcti-device.c tcti/tcti_device.c log/log.h |
| 141 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 142 | test_unit_tcti_mssim_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(URIPARSER_CFLAGS) |
Philip Tricca | addad78 | 2018-03-09 11:42:05 -0800 | [diff] [blame] | 143 | test_unit_tcti_mssim_LDADD = $(CMOCKA_LIBS) $(libmarshal) $(URIPARSER_LIBS) $(libutil) |
| 144 | test_unit_tcti_mssim_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=select,--wrap=write |
| 145 | test_unit_tcti_mssim_SOURCES = tcti/tcti-mssim.c tcti/sockets.c \ |
| 146 | tcti/sockets.h test/unit/tcti-mssim.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 147 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 148 | test_unit_socket_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | 7a10ee3 | 2018-03-06 12:48:39 -0800 | [diff] [blame] | 149 | test_unit_socket_LDADD = $(CMOCKA_LIBS) $(libutil) $(libmarshal) |
Philip Tricca | 2bec2a8 | 2018-03-04 21:27:30 -0800 | [diff] [blame] | 150 | test_unit_socket_LDFLAGS = -Wl,--wrap=connect,--wrap=socket |
| 151 | test_unit_socket_SOURCES = test/unit/socket.c tcti/sockets.c tcti/sockets.h |
| 152 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 153 | test_unit_CommonPreparePrologue_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 154 | test_unit_CommonPreparePrologue_LDFLAGS = -Wl,--unresolved-symbols=ignore-all |
| 155 | test_unit_CommonPreparePrologue_LDADD = $(CMOCKA_LIBS) $(libsapi) |
| 156 | test_unit_CommonPreparePrologue_SOURCES = test/unit/CommonPreparePrologue.c |
| 157 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 158 | test_unit_GetNumHandles_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 159 | test_unit_GetNumHandles_LDADD = $(CMOCKA_LIBS) $(libsapi) |
| 160 | test_unit_GetNumHandles_SOURCES = test/unit/GetNumHandles.c |
| 161 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 162 | test_unit_CopyCommandHeader_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 163 | test_unit_CopyCommandHeader_LDFLAGS = -Wl,--unresolved-symbols=ignore-all |
| 164 | test_unit_CopyCommandHeader_LDADD = $(CMOCKA_LIBS) $(libsapi) |
| 165 | test_unit_CopyCommandHeader_SOURCES = test/unit/CopyCommandHeader.c |
| 166 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 167 | test_unit_UINT8_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 168 | test_unit_UINT8_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 169 | test_unit_UINT8_marshal_SOURCES = test/unit/UINT8-marshal.c |
| 170 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 171 | test_unit_UINT16_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 172 | test_unit_UINT16_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 173 | test_unit_UINT16_marshal_SOURCES = test/unit/UINT16-marshal.c |
| 174 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 175 | test_unit_UINT32_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 176 | test_unit_UINT32_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 177 | test_unit_UINT32_marshal_SOURCES = test/unit/UINT32-marshal.c |
| 178 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 179 | test_unit_UINT64_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 180 | test_unit_UINT64_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 181 | test_unit_UINT64_marshal_SOURCES = test/unit/UINT64-marshal.c |
| 182 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 183 | test_unit_TPMA_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 184 | test_unit_TPMA_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 185 | test_unit_TPMA_marshal_SOURCES = test/unit/TPMA-marshal.c |
| 186 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 187 | test_unit_TPM2B_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 188 | test_unit_TPM2B_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 189 | test_unit_TPM2B_marshal_SOURCES = test/unit/TPM2B-marshal.c |
| 190 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 191 | test_unit_TPMS_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 192 | test_unit_TPMS_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 193 | test_unit_TPMS_marshal_SOURCES = test/unit/TPMS-marshal.c |
| 194 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 195 | test_unit_TPML_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 196 | test_unit_TPML_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 197 | test_unit_TPML_marshal_SOURCES = test/unit/TPML-marshal.c |
| 198 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 199 | test_unit_TPMT_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 200 | test_unit_TPMT_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 201 | test_unit_TPMT_marshal_SOURCES = test/unit/TPMT-marshal.c |
| 202 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 203 | test_unit_TPMU_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 204 | test_unit_TPMU_marshal_LDADD = $(CMOCKA_LIBS) $(libmarshal) |
| 205 | test_unit_TPMU_marshal_SOURCES = test/unit/TPMU-marshal.c |
| 206 | endif # UNIT |
| 207 | |
| 208 | if SIMULATOR_BIN |
| 209 | test_tpmclient_tpmclient_int_CFLAGS = $(AM_CFLAGS) -U_FORTIFY_SOURCE $(TESTS_CFLAGS) |
| 210 | test_tpmclient_tpmclient_int_LDADD = $(TESTS_LDADD) |
| 211 | test_tpmclient_tpmclient_int_SOURCES = \ |
| 212 | test/tpmclient/CatSizedByteBuffer.c test/tpmclient/CopySizedBuffer.c \ |
| 213 | test/tpmclient/CreateNullSession.c test/tpmclient/DecryptEncrypt.c \ |
| 214 | test/tpmclient/Entity.c test/tpmclient/kdfa.c \ |
| 215 | test/tpmclient/LoadExternalHMACKey.c test/integration/main.c \ |
| 216 | test/tpmclient/sample.h test/tpmclient/TpmHmac.c \ |
| 217 | test/tpmclient/SessionHmac.c test/tpmclient/SetLocality.c \ |
| 218 | test/tpmclient/StartAuthSession.c test/tpmclient/syscontext.c \ |
| 219 | test/tpmclient/syscontext.h test/tpmclient/TpmCalcPHash.c \ |
| 220 | test/tpmclient/tpmclient.int.c test/tpmclient/tpmclient.h \ |
| 221 | test/tpmclient/TpmHandleToName.c test/tpmclient/TpmHash.c |
| 222 | |
| 223 | test_integration_libtest_utils_la_SOURCES = \ |
| 224 | test/integration/context-util.c test/integration/context-util.h \ |
| 225 | test/integration/sapi-util.c test/integration/sapi-util.h \ |
| 226 | test/integration/test-options.c test/integration/test-options.h \ |
| 227 | test/integration/test.h |
| 228 | |
| 229 | test_integration_asymmetric_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 230 | test_integration_asymmetric_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 231 | test_integration_asymmetric_encrypt_decrypt_int_SOURCES = \ |
| 232 | test/integration/asymmetric-encrypt-decrypt.int.c test/integration/main.c |
| 233 | |
| 234 | test_integration_create_primary_rsa_2048_aes_128_cfb_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 235 | test_integration_create_primary_rsa_2048_aes_128_cfb_int_LDADD = $(TESTS_LDADD) |
| 236 | test_integration_create_primary_rsa_2048_aes_128_cfb_int_SOURCES = \ |
| 237 | test/integration/create-primary-rsa-2048-aes-128-cfb.int.c \ |
| 238 | test/integration/main.c |
| 239 | |
| 240 | test_integration_create_keyedhash_sha1_hmac_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 241 | test_integration_create_keyedhash_sha1_hmac_int_LDADD = $(TESTS_LDADD) |
| 242 | test_integration_create_keyedhash_sha1_hmac_int_SOURCES = \ |
| 243 | test/integration/create-keyedhash-sha1-hmac.int.c test/integration/main.c |
| 244 | |
| 245 | test_integration_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 246 | test_integration_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 247 | test_integration_encrypt_decrypt_int_SOURCES = \ |
| 248 | test/integration/encrypt-decrypt.int.c test/integration/main.c |
| 249 | |
| 250 | test_integration_encrypt_decrypt_2_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 251 | test_integration_encrypt_decrypt_2_int_LDADD = $(TESTS_LDADD) |
| 252 | test_integration_encrypt_decrypt_2_int_SOURCES = \ |
| 253 | test/integration/encrypt-decrypt-2.int.c test/integration/main.c |
| 254 | |
| 255 | test_integration_evict_ctrl_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 256 | test_integration_evict_ctrl_int_LDADD = $(TESTS_LDADD) |
| 257 | test_integration_evict_ctrl_int_SOURCES = \ |
| 258 | test/integration/evict-ctrl.int.c test/integration/main.c |
| 259 | |
| 260 | test_integration_sys_initialize_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 261 | test_integration_sys_initialize_int_LDADD = $(TESTS_LDADD) |
| 262 | test_integration_sys_initialize_int_SOURCES = test/integration/sys-initialize.int.c \ |
| 263 | test/integration/main.c |
| 264 | |
| 265 | test_integration_get_random_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 266 | test_integration_get_random_int_LDADD = $(TESTS_LDADD) |
| 267 | test_integration_get_random_int_SOURCES = test/integration/get-random.int.c \ |
| 268 | test/integration/main.c |
| 269 | |
| 270 | test_integration_abi_version_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 271 | test_integration_abi_version_int_LDADD = $(TESTS_LDADD) |
| 272 | test_integration_abi_version_int_SOURCES = test/integration/abi-version.int.c \ |
| 273 | test/integration/main.c |
| 274 | |
| 275 | test_integration_pcr_extension_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 276 | test_integration_pcr_extension_int_LDADD = $(TESTS_LDADD) |
| 277 | test_integration_pcr_extension_int_SOURCES = test/integration/pcr-extension.int.c \ |
| 278 | test/integration/main.c |
| 279 | |
| 280 | test_integration_self_test_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 281 | test_integration_self_test_int_LDADD = $(TESTS_LDADD) |
| 282 | test_integration_self_test_int_SOURCES = test/integration/self-test.int.c \ |
| 283 | test/integration/main.c |
| 284 | |
| 285 | test_integration_hierarchy_change_auth_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 286 | test_integration_hierarchy_change_auth_int_LDADD = $(TESTS_LDADD) |
| 287 | test_integration_hierarchy_change_auth_int_SOURCES = \ |
| 288 | test/integration/hierarchy-change-auth.int.c test/integration/main.c |
| 289 | |
| 290 | test_integration_start_auth_session_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 291 | test_integration_start_auth_session_int_LDADD = $(TESTS_LDADD) |
| 292 | test_integration_start_auth_session_int_SOURCES = test/integration/main.c \ |
| 293 | test/integration/start-auth-session.int.c |
| 294 | |
| 295 | test_integration_tpm_properties_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 296 | test_integration_tpm_properties_int_LDADD = $(TESTS_LDADD) |
| 297 | test_integration_tpm_properties_int_SOURCES = test/integration/main.c \ |
| 298 | test/integration/tpm-properties.int.c |
| 299 | |
| 300 | test_integration_system_api_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 301 | test_integration_system_api_int_LDADD = $(TESTS_LDADD) |
| 302 | test_integration_system_api_int_SOURCES = test/integration/main.c \ |
| 303 | test/integration/system-api.int.c |
| 304 | |
| 305 | if ESAPI |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 306 | test_integration_esys_clear_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 307 | test_integration_esys_clear_int_LDADD = $(TESTS_LDADD) |
| 308 | test_integration_esys_clear_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 309 | test_integration_esys_clear_int_SOURCES = \ |
| 310 | test/integration/esys-clear.int.c \ |
| 311 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 312 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 313 | test_integration_esys_clear_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 314 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 315 | test_integration_esys_clear_session_int_LDADD = $(TESTS_LDADD) |
| 316 | test_integration_esys_clear_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 317 | test_integration_esys_clear_session_int_SOURCES = \ |
| 318 | test/integration/esys-clear.int.c \ |
| 319 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 320 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 321 | test_integration_esys_clockset_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 322 | test_integration_esys_clockset_int_LDADD = $(TESTS_LDADD) |
| 323 | test_integration_esys_clockset_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 324 | test_integration_esys_clockset_int_SOURCES = \ |
| 325 | test/integration/esys-clockset.int.c \ |
| 326 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 327 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 328 | test_integration_esys_clockset_session_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 329 | test_integration_esys_clockset_session_int_LDADD = $(TESTS_LDADD) |
| 330 | test_integration_esys_clockset_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 331 | test_integration_esys_clockset_session_int_SOURCES = \ |
| 332 | test/integration/esys-clockset.int.c \ |
| 333 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 334 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 335 | test_integration_esys_create_fail_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 336 | test_integration_esys_create_fail_int_LDADD = $(TESTS_LDADD) |
| 337 | test_integration_esys_create_fail_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 338 | test_integration_esys_create_fail_int_SOURCES = \ |
| 339 | test/integration/esys-create-fail.int.c \ |
| 340 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 341 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 342 | test_integration_esys_createloaded_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 343 | test_integration_esys_createloaded_int_LDADD = $(TESTS_LDADD) |
| 344 | test_integration_esys_createloaded_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 345 | test_integration_esys_createloaded_int_SOURCES = \ |
| 346 | test/integration/esys-createloaded.int.c \ |
| 347 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 348 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 349 | test_integration_esys_createloaded_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 350 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 351 | test_integration_esys_createloaded_session_int_LDADD = $(TESTS_LDADD) |
| 352 | test_integration_esys_createloaded_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 353 | test_integration_esys_createloaded_session_int_SOURCES = \ |
| 354 | test/integration/esys-createloaded.int.c \ |
| 355 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 356 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 357 | test_integration_esys_create_password_auth_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 358 | test_integration_esys_create_password_auth_int_LDADD = $(TESTS_LDADD) |
| 359 | test_integration_esys_create_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 360 | test_integration_esys_create_password_auth_int_SOURCES = \ |
| 361 | test/integration/esys-create-password-auth.int.c \ |
| 362 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 363 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 364 | test_integration_esys_create_primary_ecc_hmac_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 365 | test_integration_esys_create_primary_ecc_hmac_int_LDADD = $(TESTS_LDADD) |
| 366 | test_integration_esys_create_primary_ecc_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 367 | test_integration_esys_create_primary_ecc_hmac_int_SOURCES = \ |
| 368 | test/integration/esys-create-primary-hmac.int.c \ |
| 369 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 370 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 371 | test_integration_esys_create_primary_hmac_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 372 | test_integration_esys_create_primary_hmac_int_LDADD = $(TESTS_LDADD) |
| 373 | test_integration_esys_create_primary_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 374 | test_integration_esys_create_primary_hmac_int_SOURCES = \ |
| 375 | test/integration/esys-create-primary-hmac.int.c \ |
| 376 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 377 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 378 | test_integration_esys_create_session_auth_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 379 | test_integration_esys_create_session_auth_int_LDADD = $(TESTS_LDADD) |
| 380 | test_integration_esys_create_session_auth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 381 | test_integration_esys_create_session_auth_int_SOURCES = \ |
| 382 | test/integration/esys-create-session-auth.int.c \ |
| 383 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 384 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 385 | test_integration_esys_evict_control_serialization_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 386 | test_integration_esys_evict_control_serialization_int_LDADD = $(TESTS_LDADD) |
| 387 | test_integration_esys_evict_control_serialization_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 388 | test_integration_esys_evict_control_serialization_int_SOURCES = \ |
| 389 | test/integration/esys-evict-control-serialization.int.c \ |
| 390 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 391 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 392 | test_integration_esys_get_capability_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 393 | test_integration_esys_get_capability_int_LDADD = $(TESTS_LDADD) |
| 394 | test_integration_esys_get_capability_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 395 | test_integration_esys_get_capability_int_SOURCES = \ |
| 396 | test/integration/esys-get-capability.int.c \ |
| 397 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 398 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 399 | test_integration_esys_get_random_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 400 | test_integration_esys_get_random_int_LDADD = $(TESTS_LDADD) |
| 401 | test_integration_esys_get_random_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 402 | test_integration_esys_get_random_int_SOURCES = \ |
| 403 | test/integration/esys-get-random.int.c \ |
| 404 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 405 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 406 | test_integration_esys_hashsequencestart_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 407 | test_integration_esys_hashsequencestart_int_LDADD = $(TESTS_LDADD) |
| 408 | test_integration_esys_hashsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 409 | test_integration_esys_hashsequencestart_int_SOURCES = \ |
| 410 | test/integration/esys-hashsequencestart.int.c \ |
| 411 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 412 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 413 | test_integration_esys_hashsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 414 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 415 | test_integration_esys_hashsequencestart_session_int_LDADD = $(TESTS_LDADD) |
| 416 | test_integration_esys_hashsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 417 | test_integration_esys_hashsequencestart_session_int_SOURCES = \ |
| 418 | test/integration/esys-hashsequencestart.int.c \ |
| 419 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 420 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 421 | test_integration_esys_hmacsequencestart_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 422 | test_integration_esys_hmacsequencestart_int_LDADD = $(TESTS_LDADD) |
| 423 | test_integration_esys_hmacsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 424 | test_integration_esys_hmacsequencestart_int_SOURCES = \ |
| 425 | test/integration/esys-hmacsequencestart.int.c \ |
| 426 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 427 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 428 | test_integration_esys_hmacsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 429 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 430 | test_integration_esys_hmacsequencestart_session_int_LDADD = $(TESTS_LDADD) |
| 431 | test_integration_esys_hmacsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 432 | test_integration_esys_hmacsequencestart_session_int_SOURCES = \ |
| 433 | test/integration/esys-hmacsequencestart.int.c \ |
| 434 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 435 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 436 | test_integration_esys_hierarchychangeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 437 | test_integration_esys_hierarchychangeauth_int_LDADD = $(TESTS_LDADD) |
| 438 | test_integration_esys_hierarchychangeauth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 439 | test_integration_esys_hierarchychangeauth_int_SOURCES = \ |
| 440 | test/integration/esys-hierarchychangeauth.int.c \ |
| 441 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 442 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 443 | test_integration_esys_make_credential_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 444 | test_integration_esys_make_credential_int_LDADD = $(TESTS_LDADD) |
| 445 | test_integration_esys_make_credential_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 446 | test_integration_esys_make_credential_int_SOURCES = \ |
| 447 | test/integration/esys-make-credential.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_make_credential_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 451 | -DTEST_SESSION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 452 | test_integration_esys_make_credential_session_int_LDADD = $(TESTS_LDADD) |
| 453 | test_integration_esys_make_credential_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 454 | test_integration_esys_make_credential_session_int_SOURCES = \ |
| 455 | test/integration/esys-make-credential.int.c \ |
| 456 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 457 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 458 | test_integration_esys_nv_ram_counter_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 459 | test_integration_esys_nv_ram_counter_int_LDADD = $(TESTS_LDADD) |
| 460 | test_integration_esys_nv_ram_counter_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 461 | test_integration_esys_nv_ram_counter_int_SOURCES = \ |
| 462 | test/integration/esys-nv-ram-counter.int.c \ |
| 463 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 464 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 465 | test_integration_esys_nv_ram_counter_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 466 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 467 | test_integration_esys_nv_ram_counter_session_int_LDADD = $(TESTS_LDADD) |
| 468 | test_integration_esys_nv_ram_counter_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 469 | test_integration_esys_nv_ram_counter_session_int_SOURCES = \ |
| 470 | test/integration/esys-nv-ram-counter.int.c \ |
| 471 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 472 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 473 | test_integration_esys_nv_ram_extend_index_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 474 | test_integration_esys_nv_ram_extend_index_int_LDADD = $(TESTS_LDADD) |
| 475 | test_integration_esys_nv_ram_extend_index_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 476 | test_integration_esys_nv_ram_extend_index_int_SOURCES = \ |
| 477 | test/integration/esys-nv-ram-extend-index.int.c \ |
| 478 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 479 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 480 | test_integration_esys_nv_ram_extend_index_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 481 | -DTEST_SESSION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 482 | test_integration_esys_nv_ram_extend_index_session_int_LDADD = $(TESTS_LDADD) |
| 483 | test_integration_esys_nv_ram_extend_index_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 484 | test_integration_esys_nv_ram_extend_index_session_int_SOURCES = \ |
| 485 | test/integration/esys-nv-ram-extend-index.int.c \ |
| 486 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 487 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 488 | test_integration_esys_nv_ram_set_bits_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 489 | test_integration_esys_nv_ram_set_bits_int_LDADD = $(TESTS_LDADD) |
| 490 | test_integration_esys_nv_ram_set_bits_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 491 | test_integration_esys_nv_ram_set_bits_int_SOURCES = \ |
| 492 | test/integration/esys-nv-ram-set-bits.int.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 493 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 494 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 495 | test_integration_esys_nv_ram_set_bits_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 496 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 497 | test_integration_esys_nv_ram_set_bits_session_int_LDADD = $(TESTS_LDADD) |
| 498 | test_integration_esys_nv_ram_set_bits_session_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 499 | test_integration_esys_nv_ram_set_bits_session_int_SOURCES = \ |
| 500 | test/integration/esys-nv-ram-set-bits.int.c \ |
| 501 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 502 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 503 | test_integration_esys_object_changeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 504 | test_integration_esys_object_changeauth_int_LDADD = $(TESTS_LDADD) |
| 505 | test_integration_esys_object_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 506 | test_integration_esys_object_changeauth_int_SOURCES = \ |
| 507 | test/integration/esys-object-changeauth.int.c \ |
| 508 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 509 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 510 | test_integration_esys_policy_nv_changeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 511 | test_integration_esys_policy_nv_changeauth_int_LDADD = $(TESTS_LDADD) |
| 512 | test_integration_esys_policy_nv_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 513 | test_integration_esys_policy_nv_changeauth_int_SOURCES = \ |
| 514 | test/integration/esys-policy-nv-changeauth.int.c \ |
| 515 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 516 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 517 | test_integration_esys_policy_password_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 518 | test_integration_esys_policy_password_int_LDADD = $(TESTS_LDADD) |
| 519 | test_integration_esys_policy_password_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 520 | test_integration_esys_policy_password_int_SOURCES = \ |
| 521 | test/integration/esys-policy-password.int.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 522 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 523 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 524 | test_integration_esys_quote_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 525 | test_integration_esys_quote_int_LDADD = $(TESTS_LDADD) |
| 526 | test_integration_esys_quote_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 527 | test_integration_esys_quote_int_SOURCES = \ |
| 528 | test/integration/esys-quote.int.c \ |
| 529 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 530 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 531 | test_integration_esys_rsa_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 532 | test_integration_esys_rsa_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 533 | test_integration_esys_rsa_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 534 | test_integration_esys_rsa_encrypt_decrypt_int_SOURCES = \ |
| 535 | test/integration/esys-rsa-encrypt-decrypt.int.c \ |
| 536 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 537 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 538 | test_integration_esys_save_and_load_context_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 539 | test_integration_esys_save_and_load_context_int_LDADD = $(TESTS_LDADD) |
| 540 | test_integration_esys_save_and_load_context_int_LDFLAGS = $(TESTS_LDFLAGS) -lgcrypt |
| 541 | test_integration_esys_save_and_load_context_int_SOURCES = \ |
| 542 | test/integration/esys-save-and-load-context.int.c \ |
| 543 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 544 | endif #ESAPI |
| 545 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 546 | test_integration_policy_template_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 547 | test_integration_policy_template_int_LDADD = $(TESTS_LDADD) |
| 548 | test_integration_policy_template_int_SOURCES = test/integration/main.c \ |
| 549 | test/integration/policy-template.int.c |
| 550 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 551 | test_integration_create_loaded_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 552 | test_integration_create_loaded_int_LDADD = $(TESTS_LDADD) |
| 553 | test_integration_create_loaded_int_SOURCES = test/integration/main.c \ |
| 554 | test/integration/create-loaded.int.c |
| 555 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 556 | test_integration_policy_authorizeNV_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 557 | test_integration_policy_authorizeNV_int_LDADD = $(TESTS_LDADD) |
| 558 | test_integration_policy_authorizeNV_int_SOURCES = test/integration/main.c log/log.h log/log.c \ |
| 559 | test/integration/policy-authorizeNV.int.c |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 560 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame^] | 561 | test_integration_command_cancel_int_CFLAGS = $(TESTS_CFLAGS) |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 562 | test_integration_command_cancel_int_LDADD = $(TESTS_LDADD) |
| 563 | test_integration_command_cancel_int_SOURCES = test/integration/main.c log/log.h log/log.c \ |
| 564 | test/integration/command-cancel.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 565 | endif #SIMULATOR_BIN |