|
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 |
|
29 // This should be included in the Techview.oby file |
|
30 // All test data and scripts gets copied to the root of ROM drive. |
|
31 // This should be copied to the relevant directory on the C drive. |
|
32 |
|
33 // platsec.oby should be included, but a problem in rombuild prevents build with watchers disabled and PlatSecEnforceSysBin ON |
|
34 //#include "platsec.oby" |
|
35 ROM_IMAGE[0] { |
|
36 PlatSecDiagnostics ON |
|
37 PlatSecEnforcement ON |
|
38 PlatSecEnforceSysBin ON |
|
39 PlatSecProcessIsolation ON |
|
40 } |
|
41 |
|
42 #include "setcap.iby" |
|
43 |
|
44 #include "testexecute.iby" |
|
45 #include "t_testhandler.iby" |
|
46 #include "testutil.iby" |
|
47 #include "xml.iby" // Needed for security tests |
|
48 |
|
49 #include "securityframeworktestserver.iby" |
|
50 |
|
51 |
|
52 #ifdef SYMBIAN_USER_PROMPT_SERVICE |
|
53 #include "ups.iby" |
|
54 #include "tups.iby" |
|
55 #endif |
|
56 |
|
57 |
|
58 // iby files for caf |
|
59 #include "caf.iby" |
|
60 #include "caftest.iby" |
|
61 #include "reccafconfig.iby" |
|
62 #include "rta.iby" |
|
63 #include "rtatest.iby" |
|
64 #include "tpkcs12integrationserver.iby" |
|
65 |
|
66 #ifdef SYMBIAN_CAF_STREAMING |
|
67 #include "streamingcaf.iby" |
|
68 #include "tscaf.iby" |
|
69 #endif |
|
70 |
|
71 |
|
72 #include "secutiltests.iby" |
|
73 |
|
74 |
|
75 #include "randomtests.iby" |
|
76 #include "hashtests.iby" |
|
77 #include "certmantests.iby" |
|
78 |
|
79 #include "ctframeworktests.iby" |
|
80 #include "tpkcs7server.iby" |
|
81 #include "filetokenstests.iby" |
|
82 #include "asnpkcstests.iby" |
|
83 |
|
84 #include "cryptotests.iby" |
|
85 |
|
86 |
|
87 // This is the bat file to run the security tests automatically |
|
88 // comms configuration (and configuration using sim.tsy) |
|
89 data = ZDRIVE\auto.cfg \auto.cfg |
|
90 data = ZDRIVE\auto_broken.cfg \auto_broken.cfg |
|
91 data = ZDRIVE\autosimtsy.cfg \autosimtsy.cfg |
|
92 data = ZDRIVE\prompt.cfg \prompt.cfg |
|
93 |
|
94 // This the file which used to redirect the request from cam-ocsptest01 to ban-ocsptest01 |
|
95 data = ZDRIVE\autohardware\hosts \hosts |
|
96 |
|
97 |
|
98 #ifdef __AUTO_HARDWARE_TESTS__ |
|
99 data = ZDRIVE\autohardware\autoexec.bat \autoexec.bat |
|
100 #endif |
|
101 |
|
102 |
|
103 data = ZDRIVE\autohardware\runcertman_9.4.bat \runcertman.bat |
|
104 data = ZDRIVE\autohardware\runasnpkcs_9.4.bat \runasnpkcs.bat |
|
105 data = ZDRIVE\autohardware\runfiletokens_9.4.bat \runfiletokens.bat |
|
106 data = ZDRIVE\autohardware\runcryptotokens_9.4.bat \runcryptotokens.bat |
|
107 data = ZDRIVE\autohardware\runupstests_9.4.bat \runupstests.bat |
|
108 data = ZDRIVE\autohardware\runpkcs12tests_9.4.bat \runpkcs12tests.bat |
|
109 |
|
110 #ifdef SYMBIAN_CAF_STREAMING |
|
111 data = ZDRIVE\autohardware\runcaftests_9.6.bat \runcaftests.bat |
|
112 #else |
|
113 data = ZDRIVE\autohardware\runcaftests_9.4.bat \runcaftests.bat |
|
114 #endif |
|
115 |
|
116 #ifdef SYMBIAN_CRYPTOSPI |
|
117 data = ZDRIVE\autohardware\runcrypto_9.5.bat \runcrypto.bat |
|
118 #else |
|
119 data = ZDRIVE\autohardware\runcrypto_9.4.bat \runcrypto.bat |
|
120 #endif |
|
121 |
|
122 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat \testsecurityperformance_cryptalg.bat |
|
123 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat \testsecurityperformance_crypto.bat |
|
124 |
|
125 |
|
126 data = ZDRIVE\autohardware\testsecurity_sdp.bat \testsecurity.bat |
|
127 |
|
128 |
|
129 |
|
130 //estor.dll is put in ROFS by deafult but we need to put it into CORE as well |
|
131 //core version will be used; see DEF113303 for details |
|
132 #ifdef __SECURITY_TEST_ROM__ |
|
133 #ifdef _NAND2 |
|
134 ROM_IMAGE[0] { |
|
135 file = \epoc32\release\armv5\urel\estor.dll \sys\bin\estor.dll |
|
136 } |
|
137 #endif |
|
138 #endif |
|
139 |
|
140 |
|
141 REM ---------- Comms-Infras ---------- |
|
142 // ced is not included in release builds by default (in commdb.iby) |
|
143 // so we include it explicitly here if _DEBUG is NOT defined |
|
144 file=ABI_DIR\BUILD_DIR\ced.exe System\Libs\ced.exe |
|
145 data=EPOCROOT##epoc32\data\z\system\data\meshpreface1.cfg system\data\meshpreface1.cfg |
|
146 |
|
147 file=ABI_DIR\BUILD_DIR\ceddump.exe System\Programs\ceddump.exe |
|
148 |
|
149 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE System\Programs\RUNTESTS.EXE |
|
150 |
|
151 #include "thindump.iby" |
|
152 #include "sntpclient.iby" |
|
153 |
|
154 // DEF137562 fix - Removing illegal dependency from OS to MW layer. Relocation of OCSP component from OS to MW layer. |
|
155 #include "ocsp.iby" |
|
156 #include "ocsptests.iby" |
|
157 |
|
158 |
|
159 #endif |