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