aboutsummaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/openssl/openssl-1.0.2m/ptest_makefile_deps.patch
blob: 4202e61d1e053f6976ce98e917c7fbe73fb4e261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
Additional Makefile dependencies removal for test targets

Removing the dependency check for test targets as these tests are
causing a number of failures and "noise" during ptest execution.

Upstream-Status: Inappropriate [config]

Signed-off-by: Maxin B. John <maxin.john@intel.com>

diff -Naur openssl-1.0.2d-orig/test/Makefile openssl-1.0.2d/test/Makefile
--- openssl-1.0.2d-orig/test/Makefile	2015-09-28 12:50:41.530022979 +0300
+++ openssl-1.0.2d/test/Makefile	2015-09-28 12:57:45.930717240 +0300
@@ -155,67 +155,67 @@
 	( $(MAKE) $$i && echo "PASS: $$i" ) || echo "FAIL: $$i"; \
 	done)
 
-test_evp: $(EVPTEST)$(EXE_EXT) evptests.txt
+test_evp:
 	../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
 
-test_evp_extra: $(EVPEXTRATEST)$(EXE_EXT)
+test_evp_extra:
 	../util/shlib_wrap.sh ./$(EVPEXTRATEST)
 
-test_des: $(DESTEST)$(EXE_EXT)
+test_des:
 	../util/shlib_wrap.sh ./$(DESTEST)
 
-test_idea: $(IDEATEST)$(EXE_EXT)
+test_idea:
 	../util/shlib_wrap.sh ./$(IDEATEST)
 
-test_sha: $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT)
+test_sha:
 	../util/shlib_wrap.sh ./$(SHATEST)
 	../util/shlib_wrap.sh ./$(SHA1TEST)
 	../util/shlib_wrap.sh ./$(SHA256TEST)
 	../util/shlib_wrap.sh ./$(SHA512TEST)
 
-test_mdc2: $(MDC2TEST)$(EXE_EXT)
+test_mdc2:
 	../util/shlib_wrap.sh ./$(MDC2TEST)
 
-test_md5: $(MD5TEST)$(EXE_EXT)
+test_md5:
 	../util/shlib_wrap.sh ./$(MD5TEST)
 
-test_md4: $(MD4TEST)$(EXE_EXT)
+test_md4:
 	../util/shlib_wrap.sh ./$(MD4TEST)
 
-test_hmac: $(HMACTEST)$(EXE_EXT)
+test_hmac:
 	../util/shlib_wrap.sh ./$(HMACTEST)
 
-test_wp: $(WPTEST)$(EXE_EXT)
+test_wp:
 	../util/shlib_wrap.sh ./$(WPTEST)
 
-test_md2: $(MD2TEST)$(EXE_EXT)
+test_md2:
 	../util/shlib_wrap.sh ./$(MD2TEST)
 
-test_rmd: $(RMDTEST)$(EXE_EXT)
+test_rmd:
 	../util/shlib_wrap.sh ./$(RMDTEST)
 
-test_bf: $(BFTEST)$(EXE_EXT)
+test_bf:
 	../util/shlib_wrap.sh ./$(BFTEST)
 
-test_cast: $(CASTTEST)$(EXE_EXT)
+test_cast:
 	../util/shlib_wrap.sh ./$(CASTTEST)
 
-test_rc2: $(RC2TEST)$(EXE_EXT)
+test_rc2:
 	../util/shlib_wrap.sh ./$(RC2TEST)
 
-test_rc4: $(RC4TEST)$(EXE_EXT)
+test_rc4:
 	../util/shlib_wrap.sh ./$(RC4TEST)
 
-test_rc5: $(RC5TEST)$(EXE_EXT)
+test_rc5:
 	../util/shlib_wrap.sh ./$(RC5TEST)
 
-test_rand: $(RANDTEST)$(EXE_EXT)
+test_rand:
 	../util/shlib_wrap.sh ./$(RANDTEST)
 
-test_enc: ../apps/openssl$(EXE_EXT) testenc
+test_enc:
 	@sh ./testenc
 
-test_x509: ../apps/openssl$(EXE_EXT) tx509 testx509.pem v3-cert1.pem v3-cert2.pem
+test_x509:
 	echo test normal x509v1 certificate
 	sh ./tx509 2>/dev/null
 	echo test first x509v3 certificate
@@ -223,25 +223,25 @@
 	echo test second x509v3 certificate
 	sh ./tx509 v3-cert2.pem 2>/dev/null
 
-test_rsa: ../apps/openssl$(EXE_EXT) trsa testrsa.pem
+test_rsa:
 	@sh ./trsa 2>/dev/null
 	../util/shlib_wrap.sh ./$(RSATEST)
 
-test_crl: ../apps/openssl$(EXE_EXT) tcrl testcrl.pem
+test_crl:
 	@sh ./tcrl 2>/dev/null
 
-test_sid: ../apps/openssl$(EXE_EXT) tsid testsid.pem
+test_sid:
 	@sh ./tsid 2>/dev/null
 
-test_req: ../apps/openssl$(EXE_EXT) treq testreq.pem testreq2.pem
+test_req:
 	@sh ./treq 2>/dev/null
 	@sh ./treq testreq2.pem 2>/dev/null
 
-test_pkcs7: ../apps/openssl$(EXE_EXT) tpkcs7 tpkcs7d testp7.pem pkcs7-1.pem
+test_pkcs7:
 	@sh ./tpkcs7 2>/dev/null
 	@sh ./tpkcs7d 2>/dev/null
 
-test_bn: $(BNTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) bctest
+test_bn:
 	@echo starting big number library test, could take a while...
 	@../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
 	@echo quit >>tmp.bntest
@@ -250,33 +250,33 @@
 	@echo 'test a^b%c implementations'
 	../util/shlib_wrap.sh ./$(EXPTEST)
 
-test_ec: $(ECTEST)$(EXE_EXT)
+test_ec:
 	@echo 'test elliptic curves'
 	../util/shlib_wrap.sh ./$(ECTEST)
 
-test_ecdsa: $(ECDSATEST)$(EXE_EXT)
+test_ecdsa:
 	@echo 'test ecdsa'
 	../util/shlib_wrap.sh ./$(ECDSATEST)
 
-test_ecdh: $(ECDHTEST)$(EXE_EXT)
+test_ecdh:
 	@echo 'test ecdh'
 	../util/shlib_wrap.sh ./$(ECDHTEST)
 
-test_verify: ../apps/openssl$(EXE_EXT)
+test_verify:
 	@echo "The following command should have some OK's and some failures"
 	@echo "There are definitly a few expired certificates"
 	../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs/demo ../certs/demo/*.pem
 
-test_dh: $(DHTEST)$(EXE_EXT)
+test_dh:
 	@echo "Generate a set of DH parameters"
 	../util/shlib_wrap.sh ./$(DHTEST)
 
-test_dsa: $(DSATEST)$(EXE_EXT)
+test_dsa:
 	@echo "Generate a set of DSA parameters"
 	../util/shlib_wrap.sh ./$(DSATEST)
 	../util/shlib_wrap.sh ./$(DSATEST) -app2_1
 
-test_gen testreq.pem: ../apps/openssl$(EXE_EXT) testgen test.cnf
+test_gen testreq.pem:
 	@echo "Generate and verify a certificate request"
 	@sh ./testgen
 
@@ -288,13 +288,11 @@
 	@cat certCA.ss certU.ss > intP1.ss
 	@cat certCA.ss certU.ss certP1.ss > intP2.ss
 
-test_engine:  $(ENGINETEST)$(EXE_EXT)
+test_engine:
 	@echo "Manipulate the ENGINE structures"
 	../util/shlib_wrap.sh ./$(ENGINETEST)
 
-test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
-		intP1.ss intP2.ss $(SSLTEST)$(EXE_EXT) testssl testsslproxy \
-		../apps/server2.pem serverinfo.pem
+test_ssl:
 	@echo "test SSL protocol"
 	@if [ -n "$(FIPSCANLIB)" ]; then \
 	  sh ./testfipsssl keyU.ss certU.ss certCA.ss; \
@@ -304,7 +302,7 @@
 	@sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
 	@sh ./testsslproxy keyP2.ss certP2.ss intP2.ss
 
-test_ca: ../apps/openssl$(EXE_EXT) testca CAss.cnf Uss.cnf
+test_ca:
 	@if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
 	  echo "skipping CA.sh test -- requires RSA"; \
 	else \
@@ -312,11 +310,11 @@
 	  sh ./testca; \
 	fi
 
-test_aes: #$(AESTEST)
+test_aes:
 #	@echo "test Rijndael"
 #	../util/shlib_wrap.sh ./$(AESTEST)
 
-test_tsa: ../apps/openssl$(EXE_EXT) testtsa CAtsa.cnf ../util/shlib_wrap.sh
+test_tsa:
 	@if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
 	  echo "skipping testtsa test -- requires RSA"; \
 	else \
@@ -331,7 +329,7 @@
 	@echo "Test JPAKE"
 	../util/shlib_wrap.sh ./$(JPAKETEST)
 
-test_cms: ../apps/openssl$(EXE_EXT) cms-test.pl smcont.txt
+test_cms:
 	@echo "CMS consistency test"
 	$(PERL) cms-test.pl
 
@@ -339,22 +337,22 @@
 	@echo "Test SRP"
 	../util/shlib_wrap.sh ./srptest
 
-test_ocsp: ../apps/openssl$(EXE_EXT) tocsp
+test_ocsp:
 	@echo "Test OCSP"
 	@sh ./tocsp
 
-test_v3name: $(V3NAMETEST)$(EXE_EXT)
+test_v3name:
 	@echo "Test X509v3_check_*"
 	../util/shlib_wrap.sh ./$(V3NAMETEST)
 
 test_heartbeat:
 	../util/shlib_wrap.sh ./$(HEARTBEATTEST)
 
-test_constant_time: $(CONSTTIMETEST)$(EXE_EXT)
+test_constant_time:
 	@echo "Test constant time utilites"
 	../util/shlib_wrap.sh ./$(CONSTTIMETEST)
 
-test_verify_extra: $(VERIFYEXTRATEST)$(EXE_EXT)
+test_verify_extra:
 	@echo $(START) $@
 	../util/shlib_wrap.sh ./$(VERIFYEXTRATEST)