|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef __SECURITYTESTS_IBY__ |
|
18 #define __SECURITYTESTS_IBY__ |
|
19 |
|
20 // We need bigger ROFS files for tests with TBAS |
|
21 rofssize=0x2100000 |
|
22 |
|
23 // Save build details in ROM |
|
24 data=\buildid.txt \buildid.txt |
|
25 |
|
26 define ZDRIVE \epoc32\winscw\c |
|
27 |
|
28 // This should be included in the Techview.oby file |
|
29 // All test data and scripts gets copied to the root of ROM drive. |
|
30 // This should be copied to the relevant directory on the C drive. |
|
31 |
|
32 // platsec.oby should be included, but a problem in rombuild prevents build with watchers disabled and PlatSecEnforceSysBin ON |
|
33 //#include "platsec.oby" |
|
34 ROM_IMAGE[0] { |
|
35 PlatSecDiagnostics ON |
|
36 PlatSecEnforcement ON |
|
37 PlatSecEnforceSysBin ON |
|
38 PlatSecProcessIsolation ON |
|
39 } |
|
40 #include "setcap.iby" |
|
41 |
|
42 #include "testexecute.iby" |
|
43 #include "t_testhandler.iby" |
|
44 #include "xml.iby" // Needed for security tests |
|
45 |
|
46 #include "securityframeworktestserver.iby" |
|
47 |
|
48 #ifdef __SECURITY_NORMAL_SWICERTSTORE__ |
|
49 #include "tsistestdata.iby" |
|
50 |
|
51 ECOM_PLUGIN(tsecdlg.dll, 10204789.rsc) |
|
52 |
|
53 #ifdef SYMBIAN_USER_PROMPT_SERVICE |
|
54 #include "ups.iby" |
|
55 #include "tups.iby" |
|
56 #endif |
|
57 // iby files for caf |
|
58 #include "caf.iby" |
|
59 #include "caftest.iby" |
|
60 #include "reccafconfig.iby" |
|
61 #include "rta.iby" |
|
62 #include "rtatest.iby" |
|
63 #include "tpkcs12integrationserver.iby" |
|
64 // Dependency |
|
65 file=ABI_DIR\BUILD_DIR\pkcs7.dll System\Libs\pkcs7.dll |
|
66 |
|
67 #ifdef SYMBIAN_CAF_STREAMING |
|
68 #include "streamingcaf.iby" |
|
69 #include "tscaf.iby" |
|
70 #endif |
|
71 |
|
72 // Extra test data |
|
73 #include "tswi.iby" |
|
74 #include "tswiconsole.iby" |
|
75 #include "tsissignedtestdata.iby" |
|
76 #include "secutiltests.iby" |
|
77 |
|
78 #elif __SECURITY_MANDATORY_SWICERTSTORE__ |
|
79 // Temp |
|
80 #include "cryptodeps.iby" |
|
81 |
|
82 #include "randomtests.iby" |
|
83 #include "hashtests.iby" |
|
84 #include "certmantests.iby" |
|
85 |
|
86 #include "ctframeworktests.iby" |
|
87 #include "tpkcs7server.iby" |
|
88 #include "filetokenstests.iby" |
|
89 #include "asnpkcstests.iby" |
|
90 #include "tsiscorrupttestdata.iby" |
|
91 // uncomment authserver tests when authserver gets released |
|
92 // #include "tAuthSvr.iby" |
|
93 |
|
94 // Extra test data |
|
95 #include "tswi.iby" |
|
96 #include "tswiconsole.iby" |
|
97 #include "tsissignedtestdata.iby" |
|
98 #include "secutiltests.iby" |
|
99 #elif __SECURITY_JAVA__ |
|
100 |
|
101 #include "cryptotests.iby" |
|
102 #include "randomtests.iby" |
|
103 #include "hashtests.iby" |
|
104 #include "rtatest.iby" |
|
105 #endif |
|
106 |
|
107 //*********** |
|
108 // REMOVE ME WHEN AUTHSERVER IS ADDED TO MAIN BUILD |
|
109 //*********** |
|
110 //#include "authserver.iby" |
|
111 |
|
112 // This is the bat file to run the security tests automatically |
|
113 // comms configuration (and configuration using sim.tsy) |
|
114 data = ZDRIVE\auto.cfg \auto.cfg |
|
115 data = ZDRIVE\auto_broken.cfg \auto_broken.cfg |
|
116 data = ZDRIVE\autosimtsy.cfg \autosimtsy.cfg |
|
117 data = ZDRIVE\prompt.cfg \prompt.cfg |
|
118 |
|
119 // This the file which used to redirect the request from cam-ocsptest01 to ban-ocsptest01 |
|
120 data = ZDRIVE\autohardware\hosts \hosts |
|
121 |
|
122 #ifdef __AUTO_HARDWARE_TESTS__ |
|
123 data = ZDRIVE\autohardware\autoexec.bat \autoexec.bat |
|
124 #endif |
|
125 |
|
126 #ifdef __SECURITY_NORMAL_SWICERTSTORE__ |
|
127 |
|
128 #ifdef SYMBIAN_JAVA_NOT_INCLUDED |
|
129 data = ZDRIVE\autohardware\testsecurity_9.6_nonmcs.bat \testsecurity.bat |
|
130 data = ZDRIVE\autohardware\runswiromtests_9.6.bat \runswiromtests.bat |
|
131 #elif defined(SYMBIAN_USER_PROMPT_SERVICE) |
|
132 data = ZDRIVE\autohardware\testsecurity_9.5_nonmcs.bat \testsecurity.bat |
|
133 data = ZDRIVE\autohardware\runswiromtests_9.5.bat \runswiromtests.bat |
|
134 #else |
|
135 data = ZDRIVE\autohardware\testsecurity_9.4_nonmcs.bat \testsecurity.bat |
|
136 data = ZDRIVE\autohardware\runswiromtests_9.4.bat \runswiromtests.bat |
|
137 #endif |
|
138 |
|
139 data = ZDRIVE\autohardware\runtlsclientauth_9.4.bat \runtlsclientauth.bat |
|
140 data = ZDRIVE\autohardware\runupstests_9.4.bat \runupstests.bat |
|
141 data = ZDRIVE\autohardware\runpkcs12tests_9.4.bat \runpkcs12tests.bat |
|
142 |
|
143 #ifdef SYMBIAN_CAF_STREAMING |
|
144 data = ZDRIVE\autohardware\runcaftests_9.6.bat \runcaftests.bat |
|
145 #else |
|
146 data = ZDRIVE\autohardware\runcaftests_9.4.bat \runcaftests.bat |
|
147 #endif |
|
148 |
|
149 #elif __SECURITY_MANDATORY_SWICERTSTORE__ |
|
150 #ifdef SYMBIAN_USER_PROMPT_SERVICE |
|
151 data = ZDRIVE\autohardware\testsecurity_9.5_mcs.bat \testsecurity.bat |
|
152 #else |
|
153 data = ZDRIVE\autohardware\testsecurity_9.4_mcs.bat \testsecurity.bat |
|
154 #endif |
|
155 data = ZDRIVE\autohardware\runcertman_9.4.bat \runcertman.bat |
|
156 data = ZDRIVE\autohardware\runasnpkcs_9.4.bat \runasnpkcs.bat |
|
157 data = ZDRIVE\autohardware\runfiletokens_9.4.bat \runfiletokens.bat |
|
158 data = ZDRIVE\autohardware\runcryptotokens_9.4.bat \runcryptotokens.bat |
|
159 data = ZDRIVE\autohardware\runswiromtests_9.4_mcs.bat \runswiromtests.bat |
|
160 // PREQ218 is still vFuture, run it just in 9.4 not any lower build |
|
161 // data = ZDRIVE\autohardware\runauthtests.bat \runauthtests.bat |
|
162 #elif __SECURITY_JAVA__ |
|
163 |
|
164 data = ZDRIVE\autohardware\testsecurity_9.6_crypto.bat \testsecurity.bat |
|
165 |
|
166 |
|
167 #ifdef SYMBIAN_CRYPTOSPI |
|
168 data = ZDRIVE\autohardware\runcrypto_9.5.bat \runcrypto.bat |
|
169 #else |
|
170 data = ZDRIVE\autohardware\runcrypto_9.4.bat \runcrypto.bat |
|
171 #endif |
|
172 #endif |
|
173 |
|
174 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat \testsecurityperformance_cryptalg.bat |
|
175 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat \testsecurityperformance_crypto.bat |
|
176 |
|
177 //estor.dll is put in ROFS by deafult but we need to put it into CORE as well |
|
178 //core version will be used; see DEF113303 for details |
|
179 #ifdef __SECURITY_TEST_ROM__ |
|
180 #ifdef _NAND2 |
|
181 ROM_IMAGE[0] { |
|
182 file = \epoc32\release\armv5\urel\estor.dll \sys\bin\estor.dll |
|
183 } |
|
184 #endif |
|
185 #endif |
|
186 |
|
187 |
|
188 REM ---------- Comms-Infras ---------- |
|
189 // ced is not included in release builds by default (in commdb.iby) |
|
190 // so we include it explicitly here if _DEBUG is NOT defined |
|
191 file=ABI_DIR\BUILD_DIR\ced.exe System\Libs\ced.exe |
|
192 data=EPOCROOT##epoc32\data\z\system\data\meshpreface1.cfg system\data\meshpreface1.cfg |
|
193 |
|
194 file=ABI_DIR\BUILD_DIR\ceddump.exe System\Programs\ceddump.exe |
|
195 |
|
196 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE System\Programs\RUNTESTS.EXE |
|
197 |
|
198 #include "thindump.iby" |
|
199 #include "sntpclient.iby" |
|
200 |
|
201 // DEF137562 fix - Removing illegal dependency from OS to MW layer. Relocation of OCSP component from OS to MW layer. |
|
202 #include "ocsp.iby" |
|
203 #include "ocsptests.iby" |
|
204 |
|
205 #endif |