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