19 #define __SECURITYTESTS_IBY__ |
19 #define __SECURITYTESTS_IBY__ |
20 |
20 |
21 // We need bigger ROFS files for tests with TBAS |
21 // We need bigger ROFS files for tests with TBAS |
22 rofssize=0x2100000 |
22 rofssize=0x2100000 |
23 |
23 |
24 // conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation |
|
25 #ifdef _SERIAL_DOWNLOAD |
|
26 // Save build details in ROM |
24 // Save build details in ROM |
27 data=\buildid.txt \buildid.txt |
25 data=\buildid.txt \buildid.txt |
28 #endif |
26 |
29 |
27 |
30 // This should be included in the Techview.oby file |
28 // This should be included in the Techview.oby file |
31 // All test data and scripts gets copied to the root of ROM drive. |
29 // All test data and scripts gets copied to the root of ROM drive. |
32 // This should be copied to the relevant directory on the C drive. |
30 // This should be copied to the relevant directory on the C drive. |
33 |
31 |
47 #include "testutil.iby" |
45 #include "testutil.iby" |
48 //#include "xml.iby" // Needed for security tests |
46 //#include "xml.iby" // Needed for security tests |
49 |
47 |
50 #include "securityframeworktestserver.iby" |
48 #include "securityframeworktestserver.iby" |
51 |
49 |
|
50 |
52 #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1 |
51 #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1 |
|
52 |
53 #include "ups.iby" |
53 #include "ups.iby" |
54 #include "tups.iby" |
54 #include "tups.iby" |
55 #include "asnpkcstests.iby" |
55 #include "asnpkcstests.iby" |
56 #include "certmantests.iby" |
56 #include "certmantests.iby" |
57 #include "tpkcs7server.iby" |
57 #include "tpkcs7server.iby" |
58 #include "tpkcs12integrationserver.iby" |
58 #include "tpkcs12integrationserver.iby" |
59 #include "ctframeworktests.iby" |
59 #include "ctframeworktests.iby" |
60 // conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation |
60 #include "cryptotests.iby" |
61 // temp added |
|
62 #ifndef _SERIAL_DOWNLOAD |
|
63 #include "streamingcaf.iby" |
|
64 // iby files for caf |
|
65 #include "caf.iby" |
|
66 #include "caftest.iby" |
|
67 #include "reccafconfig.iby" |
|
68 #include "rta.iby" |
|
69 #include "rtatest.iby" |
|
70 #include "cryptotests.iby" |
|
71 #include "tscaf.iby" |
|
72 #include "randomtests.iby" |
|
73 #include "hashtests.iby" |
|
74 |
|
75 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
76 #include "mtputils.iby" |
|
77 #include "mtputilstest.iby" |
|
78 #include "refcafhelper.iby" |
|
79 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
80 #endif |
|
81 |
|
82 #else |
61 #else |
83 #include "streamingcaf.iby" |
62 #include "streamingcaf.iby" |
84 // iby files for caf |
63 // iby files for caf |
85 #include "caf.iby" |
64 #include "caf.iby" |
86 #include "caftest.iby" |
65 #include "caftest.iby" |
95 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
74 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
96 #include "mtputils.iby" |
75 #include "mtputils.iby" |
97 #include "mtputilstest.iby" |
76 #include "mtputilstest.iby" |
98 #include "refcafhelper.iby" |
77 #include "refcafhelper.iby" |
99 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
78 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
100 // conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation |
79 |
101 // temp added |
80 #endif |
102 #ifndef _SERIAL_DOWNLOAD |
81 |
103 #include "ups.iby" |
|
104 #include "tups.iby" |
|
105 #include "asnpkcstests.iby" |
|
106 #include "certmantests.iby" |
|
107 #include "tpkcs7server.iby" |
|
108 #include "tpkcs12integrationserver.iby" |
|
109 #include "ctframeworktests.iby" |
|
110 #endif |
|
111 |
|
112 #endif |
|
113 |
82 |
114 // Common utils libraries |
83 // Common utils libraries |
115 #include "securitycommonutils.iby" |
84 #include "securitycommonutils.iby" |
116 #include "securitytestframework.iby" |
85 #include "securitytestframework.iby" |
117 #include "secutiltests.iby" |
86 #include "secutiltests.iby" |
128 |
97 |
129 |
98 |
130 define ZDRIVE \epoc32\winscw\c |
99 define ZDRIVE \epoc32\winscw\c |
131 // This is the bat file to run the security tests automatically |
100 // This is the bat file to run the security tests automatically |
132 // comms configuration (and configuration using sim.tsy) |
101 // comms configuration (and configuration using sim.tsy) |
133 // temp addeed the next line |
|
134 #ifndef _SERIAL_DOWNLOAD |
|
135 data = ZDRIVE\auto.cfg \buildid.txt |
|
136 #endif |
|
137 data = ZDRIVE\auto.cfg \auto.cfg |
102 data = ZDRIVE\auto.cfg \auto.cfg |
138 data = ZDRIVE\auto_broken.cfg \auto_broken.cfg |
103 data = ZDRIVE\auto_broken.cfg \auto_broken.cfg |
139 data = ZDRIVE\autosimtsy.cfg \autosimtsy.cfg |
104 data = ZDRIVE\autosimtsy.cfg \autosimtsy.cfg |
140 data = ZDRIVE\prompt.cfg \prompt.cfg |
105 data = ZDRIVE\prompt.cfg \prompt.cfg |
141 |
106 |
159 #else |
124 #else |
160 data = ZDRIVE\autohardware\runcaftests.bat \runcaftests.bat |
125 data = ZDRIVE\autohardware\runcaftests.bat \runcaftests.bat |
161 #endif |
126 #endif |
162 |
127 |
163 |
128 |
164 |
|
165 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
129 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
166 data = ZDRIVE\autohardware\runcrypto_wmdrm.bat \runcrypto.bat |
130 data = ZDRIVE\autohardware\runcrypto_wmdrm.bat \runcrypto.bat |
167 #else |
131 #else |
168 data = ZDRIVE\autohardware\runcrypto.bat \runcrypto.bat |
132 #ifdef __SECURITY_MANDATORY_SWICERTSTORE__ |
169 #endif |
133 data = ZDRIVE\autohardware\runhardwarecrypto.bat \runcrypto.bat |
170 |
134 #else |
|
135 data = ZDRIVE\autohardware\runcrypto.bat \runcrypto.bat |
|
136 #endif |
|
137 #endif |
171 |
138 |
172 |
139 |
173 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat \testsecurityperformance_cryptalg.bat |
140 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat \testsecurityperformance_cryptalg.bat |
174 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat \testsecurityperformance_crypto.bat |
141 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat \testsecurityperformance_crypto.bat |
175 |
142 |
176 #ifdef SYMBIAN_AUTH_SERVER |
143 #ifdef SYMBIAN_AUTH_SERVER |
177 #ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS |
144 #ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS |
178 data = ZDRIVE\autohardware\runauthtests_macroenabled.bat \runauthtests.bat |
145 data = ZDRIVE\autohardware\runauthtests_macroenabled.bat \runauthtests.bat |
179 #else |
|
180 data = ZDRIVE\autohardware\runauthtests.bat \runauthtests.bat |
|
181 #endif //SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS |
|
182 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
|
183 data = ZDRIVE\autohardware\runfiletokens_useauth.bat \runfiletokens.bat |
|
184 #else |
|
185 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
186 data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat \runfiletokens.bat |
|
187 #else |
146 #else |
188 data = ZDRIVE\autohardware\runfiletokens_disableauth.bat \runfiletokens.bat |
147 data = ZDRIVE\autohardware\runauthtests.bat \runauthtests.bat |
189 #endif |
148 #endif //SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS |
190 #endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
149 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
|
150 data = ZDRIVE\autohardware\runfiletokens_useauth.bat \runfiletokens.bat |
|
151 #else |
|
152 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
153 data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat \runfiletokens.bat |
|
154 #else |
|
155 data = ZDRIVE\autohardware\runfiletokens_disableauth.bat \runfiletokens.bat |
|
156 #endif |
|
157 #endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
191 #else |
158 #else |
192 data = ZDRIVE\autohardware\runfiletokens.bat \runfiletokens.bat |
159 data = ZDRIVE\autohardware\runfiletokens.bat \runfiletokens.bat |
193 #endif // SYMBIAN_AUTH_SERVER |
160 #endif // SYMBIAN_AUTH_SERVER |
194 |
161 |
195 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
162 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
229 |
196 |
230 file=ABI_DIR\BUILD_DIR\ceddump.exe System\Programs\ceddump.exe |
197 file=ABI_DIR\BUILD_DIR\ceddump.exe System\Programs\ceddump.exe |
231 |
198 |
232 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE System\Programs\RUNTESTS.EXE |
199 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE System\Programs\RUNTESTS.EXE |
233 |
200 |
234 // conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation |
|
235 #ifdef _SERIAL_DOWNLOAD |
|
236 #include "thindump.iby" |
201 #include "thindump.iby" |
237 #endif |
|
238 #include "sntpclient.iby" |
202 #include "sntpclient.iby" |
239 |
203 |
240 // *** Additional includes and configuration for SSM Requirements *** |
204 // *** Additional includes and configuration for SSM Requirements *** |
241 #ifdef _SSMSTARTUPMODE |
205 #ifdef _SSMSTARTUPMODE |
242 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\0\eshell private\2000d75b\startup\0\eshell) |
206 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\0\eshell private\2000d75b\startup\0\eshell) |