author | srilekhas <srilekhas@symbian.org> |
Wed, 18 Aug 2010 11:18:38 +0100 | |
changeset 627 | cb3264f4c6e6 |
parent 625 | a1925fb7753a |
child 641 | 8dd670a9f34f |
permissions | -rw-r--r-- |
591 | 1 |
# |
2 |
# Copyright (c) 2009-2010 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 |
from raptor_tests import AntiTargetSmokeTest, ReplaceEnvs |
|
18 |
import os |
|
19 |
||
20 |
def run(): |
|
21 |
t = AntiTargetSmokeTest() |
|
22 |
t.usebash = True |
|
23 |
||
24 |
preBuiltTargets = [ |
|
25 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/dummy.lib", |
|
26 |
"$(EPOCROOT)/epoc32/release/armv5/urel/dummy.lib", |
|
27 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/debfake.lib", |
|
28 |
"$(EPOCROOT)/epoc32/release/armv5/urel/relfake.lib" |
|
29 |
] |
|
30 |
||
31 |
invariantTargets = [ |
|
32 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll", |
|
33 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.map", |
|
34 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.sym", |
|
35 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll", |
|
36 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.map", |
|
37 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.sym", |
|
38 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_invariant.dso", |
|
39 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_invariant{000a0000}.dso" |
|
40 |
] |
|
41 |
||
42 |
variantTargetsDefaultTree = [ |
|
43 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant1.dll", |
|
44 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant1.dll.map", |
|
45 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant1.dll.sym", |
|
46 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant2.dll", |
|
47 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant2.dll.map", |
|
48 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant2.dll.sym", |
|
49 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createexe_variant3.exe", |
|
50 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createexe_variant3.exe.map", |
|
51 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/createexe_variant3.exe.sym", |
|
52 |
||
53 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant1.dll", |
|
54 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant1.dll.map", |
|
55 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant1.dll.sym", |
|
56 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant2.dll", |
|
57 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant2.dll.map", |
|
58 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant2.dll.sym", |
|
59 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createexe_variant3.exe", |
|
60 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createexe_variant3.exe.map", |
|
61 |
"$(EPOCROOT)/epoc32/release/armv5/urel/createexe_variant3.exe.sym" |
|
62 |
] |
|
63 |
||
64 |
variantTargetsProductTrees = [ |
|
65 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll", |
|
66 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.map", |
|
67 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym", |
|
68 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.vmap", |
|
69 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll", |
|
70 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.map", |
|
71 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym", |
|
72 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.vmap", |
|
73 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe", |
|
74 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.map", |
|
75 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.sym", |
|
76 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.vmap", |
|
77 |
||
78 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll", |
|
79 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.map", |
|
80 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.sym", |
|
81 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.vmap", |
|
82 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll", |
|
83 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.map", |
|
84 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.sym", |
|
85 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.vmap", |
|
86 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe", |
|
87 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.map", |
|
88 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.sym", |
|
89 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.vmap", |
|
90 |
||
91 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll", |
|
92 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.map", |
|
93 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.sym", |
|
94 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.vmap", |
|
95 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll", |
|
96 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.map", |
|
97 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.sym", |
|
98 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.vmap", |
|
99 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe", |
|
100 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.map", |
|
101 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.sym", |
|
102 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.vmap", |
|
103 |
||
104 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll", |
|
105 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.map", |
|
106 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.sym", |
|
107 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.vmap", |
|
108 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll", |
|
109 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.map", |
|
110 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.sym", |
|
111 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.vmap", |
|
112 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe", |
|
113 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.map", |
|
114 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.sym", |
|
115 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.vmap", |
|
116 |
||
117 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll", |
|
118 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.map", |
|
119 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.sym", |
|
120 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.vmap", |
|
121 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll", |
|
122 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.map", |
|
123 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.sym", |
|
124 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.vmap", |
|
125 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe", |
|
126 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.map", |
|
127 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.sym", |
|
128 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.vmap", |
|
129 |
||
130 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll", |
|
131 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.map", |
|
132 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.sym", |
|
133 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.vmap", |
|
134 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll", |
|
135 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.map", |
|
136 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.sym", |
|
137 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.vmap", |
|
138 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe", |
|
139 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.map", |
|
140 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.sym", |
|
141 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.vmap", |
|
142 |
] |
|
143 |
||
144 |
variantTargetsGeneric = [ |
|
145 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var1.rsc", |
|
146 |
"$(EPOCROOT)/epoc32/include/dummy_var1.rsg", |
|
147 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var2.rsc", |
|
148 |
"$(EPOCROOT)/epoc32/include/dummy_var2.rsg", |
|
149 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var3.rsc", |
|
150 |
"$(EPOCROOT)/epoc32/include/dummy_var3.rsg", |
|
151 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_inv.rsc", |
|
152 |
"$(EPOCROOT)/epoc32/include/dummy_inv.rsg", |
|
153 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1.dso", |
|
154 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1{000a0000}.dso", |
|
155 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant2.dso", |
|
156 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant2{000a0000}.dso" |
|
157 |
] |
|
158 |
||
159 |
invariantBuildTargets = [ |
|
160 |
"createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o", |
|
161 |
"createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o.d", |
|
162 |
"createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant_udeb_objects.via", |
|
163 |
"createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.def", |
|
164 |
"createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.dso", |
|
165 |
"createstaticdll_invariant_dll/armv5/urel/CreateStaticDLL_invariant.o", |
|
166 |
"createstaticdll_invariant_dll/armv5/urel/CreateStaticDLL_invariant.o.d", |
|
167 |
"createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant_urel_objects.via", |
|
168 |
"createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.def", |
|
169 |
"createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.dso", |
|
625
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
170 |
"dummy_inv_dll/dummy_inv_dummy.rsc.rpp", |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
171 |
"dummy_inv_dll/dummy_inv_dummy.rsc.d" |
591 | 172 |
] |
173 |
||
174 |
variantBuildTargetsDefaultTree = [ |
|
175 |
"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o", |
|
176 |
"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o.d", |
|
177 |
"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1_udeb_objects.via", |
|
178 |
"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.def", |
|
179 |
"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.dso", |
|
180 |
"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o", |
|
181 |
"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o.d", |
|
182 |
"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1_urel_objects.via", |
|
183 |
"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.def", |
|
184 |
"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.dso", |
|
185 |
||
186 |
"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o", |
|
187 |
"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o.d", |
|
188 |
"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2_udeb_objects.via", |
|
189 |
"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.def", |
|
190 |
"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.dso", |
|
191 |
"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o", |
|
192 |
"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o.d", |
|
193 |
"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2_urel_objects.via", |
|
194 |
"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.def", |
|
195 |
"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.dso", |
|
196 |
||
197 |
"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o", |
|
198 |
"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o.d", |
|
199 |
"createexe_variant3_exe/armv5/udeb/createexe_variant3_udeb_objects.via", |
|
200 |
"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o", |
|
201 |
"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o.d", |
|
202 |
"createexe_variant3_exe/armv5/urel/createexe_variant3_urel_objects.via" |
|
203 |
] |
|
204 |
||
205 |
variantBuildTargetsProductTrees = [ |
|
206 |
"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o", |
|
207 |
"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o.d", |
|
208 |
"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1_udeb_objects.via", |
|
209 |
"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.def", |
|
210 |
"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.dso", |
|
211 |
"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o", |
|
212 |
"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o.d", |
|
213 |
"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1_urel_objects.via", |
|
214 |
"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.def", |
|
215 |
"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.dso", |
|
216 |
||
217 |
"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o", |
|
218 |
"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o.d", |
|
219 |
"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2_udeb_objects.via", |
|
220 |
"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.def", |
|
221 |
"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.dso", |
|
222 |
"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o", |
|
223 |
"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o.d", |
|
224 |
"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2_urel_objects.via", |
|
225 |
"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.def", |
|
226 |
"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.dso", |
|
227 |
||
228 |
"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o", |
|
229 |
"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o.d", |
|
230 |
"createexe_variant3_exe/armv5.one/udeb/createexe_variant3_udeb_objects.via", |
|
231 |
"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o", |
|
232 |
"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o.d", |
|
233 |
"createexe_variant3_exe/armv5.one/urel/createexe_variant3_urel_objects.via", |
|
234 |
||
235 |
"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o", |
|
236 |
"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o.d", |
|
237 |
"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1_udeb_objects.via", |
|
238 |
"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.def", |
|
239 |
"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.dso", |
|
240 |
"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o", |
|
241 |
"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o.d", |
|
242 |
"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1_urel_objects.via", |
|
243 |
"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.def", |
|
244 |
"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.dso", |
|
245 |
||
246 |
"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o", |
|
247 |
"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o.d", |
|
248 |
"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2_udeb_objects.via", |
|
249 |
"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.def", |
|
250 |
"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.dso", |
|
251 |
"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o", |
|
252 |
"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o.d", |
|
253 |
"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2_urel_objects.via", |
|
254 |
"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.def", |
|
255 |
"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.dso", |
|
256 |
||
257 |
"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o", |
|
258 |
"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o.d", |
|
259 |
"createexe_variant3_exe/armv5.two/udeb/createexe_variant3_udeb_objects.via", |
|
260 |
"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o", |
|
261 |
"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o.d", |
|
262 |
"createexe_variant3_exe/armv5.two/urel/createexe_variant3_urel_objects.via", |
|
263 |
||
264 |
"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o", |
|
265 |
"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o.d", |
|
266 |
"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1_udeb_objects.via", |
|
267 |
"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.def", |
|
268 |
"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.dso", |
|
269 |
"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o", |
|
270 |
"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o.d", |
|
271 |
"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1_urel_objects.via", |
|
272 |
"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.def", |
|
273 |
"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.dso", |
|
274 |
||
275 |
"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o", |
|
276 |
"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o.d", |
|
277 |
"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2_udeb_objects.via", |
|
278 |
"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.def", |
|
279 |
"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.dso", |
|
280 |
"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o", |
|
281 |
"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o.d", |
|
282 |
"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2_urel_objects.via", |
|
283 |
"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.def", |
|
284 |
"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.dso", |
|
285 |
||
286 |
"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o", |
|
287 |
"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o.d", |
|
288 |
"createexe_variant3_exe/armv5.three/udeb/createexe_variant3_udeb_objects.via", |
|
289 |
"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o", |
|
290 |
"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o.d", |
|
291 |
"createexe_variant3_exe/armv5.three/urel/createexe_variant3_urel_objects.via" |
|
292 |
] |
|
293 |
||
294 |
variantBuildTargetsGeneric = [ |
|
625
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
295 |
"dummy_var1_dll/dummy_var1_dummy.rsc.rpp", |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
296 |
"dummy_var1_dll/dummy_var1_dummy.rsc.d", |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
297 |
"dummy_var2_dll/dummy_var2_dummy.rsc.rpp", |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
298 |
"dummy_var2_dll/dummy_var2_dummy.rsc.d", |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
299 |
"dummy_var3_exe/dummy_var3_dummy.rsc.rpp", |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
300 |
"dummy_var3_exe/dummy_var3_dummy.rsc.d" |
591 | 301 |
] |
302 |
||
303 |
sbscommand = "sbs -b smoke_suite/test_resources/bv/bld.inf -c armv5 " + \ |
|
304 |
"-c armv5.test_bv_1 -c armv5.test_bv_2 -c armv5.test_bv_3 -f- " + \ |
|
305 |
"--configpath=test/smoke_suite/test_resources/bv/config/variants" |
|
306 |
||
307 |
t.id = "56a" |
|
308 |
t.description = """Build variant and invariant components. |
|
309 |
In this default mode of operation, all components build for the non-product armv5 config whereas |
|
310 |
only variant components build for the armv5.* bv configs.""" |
|
311 |
t.name = "featurevariant_build" |
|
312 |
t.command = sbscommand |
|
313 |
t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsDefaultTree + variantTargetsProductTrees |
|
314 |
t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf', |
|
315 |
invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsDefaultTree + variantBuildTargetsProductTrees |
|
316 |
) |
|
317 |
# Test that static libs are linked from the invariant place. |
|
318 |
t.mustmatch = [ |
|
319 |
"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib", |
|
320 |
"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib" |
|
321 |
] |
|
322 |
t.run() |
|
323 |
||
324 |
t.id = "56b" |
|
325 |
t.description = """Build variant and invariant components using an os_properties.xml that sets FEATUREVARIANTSAFE=1. |
|
326 |
With FEATUREVARIANTSAFE only invariant components build for the non-product armv5 config and |
|
327 |
only variant components build for the armv5.* bv configs.""" |
|
328 |
t.name = "featurevariant_build_featurevariantsafe" |
|
329 |
t.command = sbscommand + " --configpath=test/smoke_suite/test_resources/bv/config/properties" |
|
330 |
t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsProductTrees |
|
331 |
t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf', |
|
332 |
invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsProductTrees |
|
333 |
) |
|
334 |
t.antitargets = variantTargetsDefaultTree |
|
335 |
t.addbuildantitargets('smoke_suite/test_resources/bv/bld.inf', |
|
336 |
variantBuildTargetsDefaultTree |
|
337 |
) |
|
338 |
# Test that static libs are linked from the invariant place. |
|
339 |
t.mustmatch = [ |
|
340 |
"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib", |
|
341 |
"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib" |
|
342 |
] |
|
343 |
t.run() |
|
344 |
||
345 |
||
346 |
# tests for the createvmap script |
|
347 |
createvmap = "python $(SBS_HOME)/bin/createvmap.py" |
|
348 |
vmapfile = "$(EPOCROOT)/epoc32/build/test.vmap" |
|
349 |
vmap = " -o " + vmapfile |
|
350 |
||
351 |
if 'SBS_BVCPP' in os.environ: |
|
352 |
bvcpp = " -c " + os.environ['SBS_BVCPP'].replace('\\','/') |
|
353 |
else: |
|
354 |
bvcpp = " -c $(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp" |
|
355 |
if t.onWindows: |
|
356 |
bvcpp += ".exe" |
|
357 |
||
358 |
bvdata = "$(SBS_HOME)/test/smoke_suite/test_resources/bv" |
|
359 |
||
360 |
preinc = " -p " + bvdata + "/var1/var1.h" |
|
361 |
listA = " -f " + bvdata + "/listA.txt" |
|
362 |
listB = " -f " + bvdata + "/listB.txt" |
|
363 |
listC = " -f " + bvdata + "/listC.txt" |
|
364 |
srcWith = " -s " + bvdata + "/with_macros.cpp" |
|
365 |
srcWithout = " -s " + bvdata + "/without_macros.cpp" |
|
366 |
badSrc = " -s " + bvdata + "/with_errors.cpp" |
|
367 |
||
368 |
t.id = "56c" |
|
369 |
t.name = "createvmap exits with an error" |
|
370 |
t.usebash = True |
|
371 |
t.command = createvmap |
|
372 |
t.returncode = 1 |
|
373 |
t.targets = [] |
|
374 |
t.mustmatch = [] |
|
375 |
t.run() |
|
376 |
||
377 |
||
378 |
t.id = "56d" |
|
379 |
t.name = "createvmap shows cpp errors" |
|
380 |
t.usebash = True |
|
381 |
t.command = createvmap + vmap + bvcpp + preinc + listA + badSrc |
|
382 |
t.returncode = 1 |
|
383 |
t.targets = [] |
|
384 |
t.mustmatch = ["#error this code is broken"] |
|
385 |
t.run() |
|
386 |
||
387 |
||
388 |
t.id = "56e" |
|
389 |
t.name = "createvmap errors on missing feature list" |
|
390 |
t.usebash = True |
|
391 |
t.command = createvmap + vmap + bvcpp + preinc + listC + srcWith |
|
392 |
t.returncode = 1 |
|
393 |
t.targets = [] |
|
394 |
t.mustmatch = ["The feature list '.*listC.txt' does not exist"] |
|
395 |
t.run() |
|
396 |
||
397 |
||
398 |
t.id = "56f" |
|
399 |
t.name = "createvmap warns on featureless code" |
|
400 |
t.usebash = True |
|
401 |
t.command = createvmap + vmap + bvcpp + preinc + listA + srcWithout |
|
402 |
t.returncode = 0 |
|
403 |
t.targets = [vmapfile] |
|
404 |
t.mustmatch = ["warning: No feature macros were found in the source"] |
|
405 |
t.run() |
|
406 |
||
407 |
||
408 |
t.id = "56g" |
|
409 |
t.name = "createvmap creates the right vmap file" |
|
410 |
t.usebash = True |
|
411 |
t.command = createvmap + vmap + bvcpp + preinc + listA + listB + srcWith + srcWithout + " && cat " + vmapfile |
|
412 |
t.returncode = 0 |
|
413 |
t.targets = [vmapfile] |
|
414 |
t.mustmatch = ["A_1=defined", "B_1000=undefined"] |
|
415 |
t.run() |
|
416 |
||
417 |
||
418 |
# print the overall result |
|
419 |
t.id = "56" |
|
420 |
t.name = "featurevariants" |
|
421 |
t.print_result() |
|
422 |
return t |