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