author | timothy.murphy@nokia.com |
Tue, 20 Apr 2010 12:08:50 +0100 | |
branch | fix |
changeset 489 | 4d8a8d0b17c0 |
parent 472 | d1500715c073 |
child 538 | 71918f4840ed |
permissions | -rw-r--r-- |
3 | 1 |
# |
347 | 2 |
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 | 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 |
||
347 | 17 |
from raptor_tests import AntiTargetSmokeTest, ReplaceEnvs |
5 | 18 |
import os |
3 | 19 |
|
20 |
def run(): |
|
347 | 21 |
t = AntiTargetSmokeTest() |
3 | 22 |
t.usebash = True |
347 | 23 |
|
24 |
preBuiltTargets = [ |
|
3 | 25 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/dummy.lib", |
26 |
"$(EPOCROOT)/epoc32/release/armv5/urel/dummy.lib", |
|
27 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/debfake.lib", |
|
347 | 28 |
"$(EPOCROOT)/epoc32/release/armv5/urel/relfake.lib" |
29 |
] |
|
30 |
||
31 |
invariantTargets = [ |
|
3 | 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", |
|
347 | 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", |
|
3 | 52 |
|
347 | 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 = [ |
|
3 | 65 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll", |
66 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.map", |
|
347 | 67 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym", |
3 | 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", |
|
347 | 71 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym", |
3 | 72 |
"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.vmap", |
347 | 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", |
|
3 | 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", |
|
347 | 80 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.sym", |
3 | 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", |
|
347 | 84 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.sym", |
3 | 85 |
"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.vmap", |
347 | 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", |
|
3 | 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", |
|
347 | 93 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.sym", |
3 | 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", |
|
347 | 97 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.sym", |
3 | 98 |
"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.vmap", |
347 | 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", |
|
3 | 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", |
|
347 | 106 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.sym", |
3 | 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", |
|
347 | 110 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.sym", |
3 | 111 |
"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.vmap", |
347 | 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", |
|
3 | 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", |
|
347 | 119 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.sym", |
3 | 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", |
|
347 | 123 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.sym", |
3 | 124 |
"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.vmap", |
347 | 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", |
|
3 | 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", |
|
347 | 132 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.sym", |
3 | 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", |
|
347 | 136 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.sym", |
3 | 137 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.vmap", |
347 | 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", |
|
3 | 141 |
"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.vmap", |
347 | 142 |
] |
143 |
||
144 |
variantTargetsGeneric = [ |
|
3 | 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", |
|
347 | 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" |
|
3 | 157 |
] |
347 | 158 |
|
159 |
invariantBuildTargets = [ |
|
3 | 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", |
|
170 |
||
472
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
171 |
"dummy_inv_dll/dummy_inv_sc.rpp", |
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
172 |
"dummy_inv_dll/dummy_inv_sc.rpp.d" |
347 | 173 |
] |
174 |
||
175 |
variantBuildTargetsDefaultTree = [ |
|
176 |
"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o", |
|
177 |
"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o.d", |
|
178 |
"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1_udeb_objects.via", |
|
179 |
"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.def", |
|
180 |
"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.dso", |
|
181 |
"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o", |
|
182 |
"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o.d", |
|
183 |
"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1_urel_objects.via", |
|
184 |
"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.def", |
|
185 |
"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.dso", |
|
3 | 186 |
|
347 | 187 |
"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o", |
188 |
"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o.d", |
|
189 |
"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2_udeb_objects.via", |
|
190 |
"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.def", |
|
191 |
"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.dso", |
|
192 |
"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o", |
|
193 |
"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o.d", |
|
194 |
"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2_urel_objects.via", |
|
195 |
"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.def", |
|
196 |
"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.dso", |
|
3 | 197 |
|
347 | 198 |
"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o", |
199 |
"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o.d", |
|
200 |
"createexe_variant3_exe/armv5/udeb/createexe_variant3_udeb_objects.via", |
|
201 |
"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o", |
|
202 |
"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o.d", |
|
203 |
"createexe_variant3_exe/armv5/urel/createexe_variant3_urel_objects.via" |
|
204 |
] |
|
205 |
||
206 |
variantBuildTargetsProductTrees = [ |
|
3 | 207 |
"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o", |
208 |
"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o.d", |
|
209 |
"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1_udeb_objects.via", |
|
210 |
"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.def", |
|
211 |
"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.dso", |
|
212 |
"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o", |
|
213 |
"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o.d", |
|
214 |
"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1_urel_objects.via", |
|
215 |
"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.def", |
|
216 |
"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.dso", |
|
217 |
||
218 |
"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o", |
|
219 |
"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o.d", |
|
220 |
"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2_udeb_objects.via", |
|
221 |
"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.def", |
|
222 |
"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.dso", |
|
223 |
"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o", |
|
224 |
"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o.d", |
|
225 |
"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2_urel_objects.via", |
|
226 |
"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.def", |
|
227 |
"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.dso", |
|
228 |
||
229 |
"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o", |
|
230 |
"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o.d", |
|
231 |
"createexe_variant3_exe/armv5.one/udeb/createexe_variant3_udeb_objects.via", |
|
232 |
"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o", |
|
233 |
"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o.d", |
|
234 |
"createexe_variant3_exe/armv5.one/urel/createexe_variant3_urel_objects.via", |
|
235 |
||
236 |
"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o", |
|
237 |
"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o.d", |
|
238 |
"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1_udeb_objects.via", |
|
239 |
"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.def", |
|
240 |
"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.dso", |
|
241 |
"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o", |
|
242 |
"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o.d", |
|
243 |
"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1_urel_objects.via", |
|
244 |
"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.def", |
|
245 |
"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.dso", |
|
246 |
||
247 |
"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o", |
|
248 |
"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o.d", |
|
249 |
"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2_udeb_objects.via", |
|
250 |
"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.def", |
|
251 |
"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.dso", |
|
252 |
"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o", |
|
253 |
"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o.d", |
|
254 |
"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2_urel_objects.via", |
|
255 |
"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.def", |
|
256 |
"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.dso", |
|
257 |
||
258 |
"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o", |
|
259 |
"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o.d", |
|
260 |
"createexe_variant3_exe/armv5.two/udeb/createexe_variant3_udeb_objects.via", |
|
261 |
"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o", |
|
262 |
"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o.d", |
|
263 |
"createexe_variant3_exe/armv5.two/urel/createexe_variant3_urel_objects.via", |
|
264 |
||
265 |
"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o", |
|
266 |
"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o.d", |
|
267 |
"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1_udeb_objects.via", |
|
268 |
"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.def", |
|
269 |
"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.dso", |
|
270 |
"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o", |
|
271 |
"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o.d", |
|
272 |
"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1_urel_objects.via", |
|
273 |
"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.def", |
|
274 |
"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.dso", |
|
275 |
||
276 |
"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o", |
|
277 |
"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o.d", |
|
278 |
"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2_udeb_objects.via", |
|
279 |
"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.def", |
|
280 |
"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.dso", |
|
281 |
"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o", |
|
282 |
"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o.d", |
|
283 |
"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2_urel_objects.via", |
|
284 |
"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.def", |
|
285 |
"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.dso", |
|
286 |
||
287 |
"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o", |
|
288 |
"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o.d", |
|
289 |
"createexe_variant3_exe/armv5.three/udeb/createexe_variant3_udeb_objects.via", |
|
290 |
"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o", |
|
291 |
"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o.d", |
|
292 |
"createexe_variant3_exe/armv5.three/urel/createexe_variant3_urel_objects.via" |
|
347 | 293 |
] |
294 |
||
295 |
variantBuildTargetsGeneric = [ |
|
472
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
296 |
"dummy_var1_dll/dummy_var1_sc.rpp", |
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
297 |
"dummy_var1_dll/dummy_var1_sc.rpp.d", |
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
298 |
"dummy_var2_dll/dummy_var2_sc.rpp", |
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
299 |
"dummy_var2_dll/dummy_var2_sc.rpp.d", |
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
300 |
"dummy_var3_exe/dummy_var3_sc.rpp", |
d1500715c073
fix: resource speedup's whatlog handling. update other tests to cope with alternate rpp.d files.
timothy.murphy@nokia.com
parents:
347
diff
changeset
|
301 |
"dummy_var3_exe/dummy_var3_sc.rpp.d" |
347 | 302 |
] |
303 |
||
304 |
sbscommand = "sbs -b smoke_suite/test_resources/bv/bld.inf -c armv5 " + \ |
|
305 |
"-c armv5.test_bv_1 -c armv5.test_bv_2 -c armv5.test_bv_3 -f- " + \ |
|
306 |
"--configpath=test/smoke_suite/test_resources/bv/config/variants" |
|
307 |
||
308 |
t.id = "56a" |
|
309 |
t.description = """Build variant and invariant components. |
|
310 |
In this default mode of operation, all components build for the non-product armv5 config whereas |
|
311 |
only variant components build for the armv5.* bv configs.""" |
|
312 |
t.name = "featurevariant_build" |
|
313 |
t.command = sbscommand |
|
314 |
t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsDefaultTree + variantTargetsProductTrees |
|
315 |
t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf', |
|
316 |
invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsDefaultTree + variantBuildTargetsProductTrees |
|
317 |
) |
|
3 | 318 |
# Test that static libs are linked from the invariant place. |
319 |
t.mustmatch = [ |
|
320 |
"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib", |
|
321 |
"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib" |
|
347 | 322 |
] |
3 | 323 |
t.run() |
324 |
||
347 | 325 |
t.id = "56b" |
326 |
t.description = """Build variant and invariant components using an os_properties.xml that sets FEATUREVARIANTSAFE=1. |
|
327 |
With FEATUREVARIANTSAFE only invariant components build for the non-product armv5 config and |
|
328 |
only variant components build for the armv5.* bv configs.""" |
|
329 |
t.name = "featurevariant_build_featurevariantsafe" |
|
330 |
t.command = sbscommand + " --configpath=test/smoke_suite/test_resources/bv/config/properties" |
|
331 |
t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsProductTrees |
|
332 |
t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf', |
|
333 |
invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsProductTrees |
|
334 |
) |
|
335 |
t.antitargets = variantTargetsDefaultTree |
|
336 |
t.addbuildantitargets('smoke_suite/test_resources/bv/bld.inf', |
|
337 |
variantBuildTargetsDefaultTree |
|
338 |
) |
|
339 |
# Test that static libs are linked from the invariant place. |
|
340 |
t.mustmatch = [ |
|
341 |
"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib", |
|
342 |
"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib" |
|
343 |
] |
|
344 |
t.run() |
|
345 |
||
3 | 346 |
|
347 |
# tests for the createvmap script |
|
348 |
createvmap = "python $(SBS_HOME)/bin/createvmap.py" |
|
349 |
vmapfile = "$(EPOCROOT)/epoc32/build/test.vmap" |
|
350 |
vmap = " -o " + vmapfile |
|
5 | 351 |
|
352 |
if 'SBS_BVCPP' in os.environ: |
|
20
d1f6767eec1a
Tests working with separate test-epocroot.
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
5
diff
changeset
|
353 |
bvcpp = " -c " + os.environ['SBS_BVCPP'].replace('\\','/') |
5 | 354 |
else: |
355 |
bvcpp = " -c $(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp" |
|
356 |
if t.onWindows: |
|
357 |
bvcpp += ".exe" |
|
3 | 358 |
|
359 |
bvdata = "$(SBS_HOME)/test/smoke_suite/test_resources/bv" |
|
360 |
||
361 |
preinc = " -p " + bvdata + "/var1/var1.h" |
|
362 |
listA = " -f " + bvdata + "/listA.txt" |
|
363 |
listB = " -f " + bvdata + "/listB.txt" |
|
364 |
listC = " -f " + bvdata + "/listC.txt" |
|
365 |
srcWith = " -s " + bvdata + "/with_macros.cpp" |
|
366 |
srcWithout = " -s " + bvdata + "/without_macros.cpp" |
|
367 |
badSrc = " -s " + bvdata + "/with_errors.cpp" |
|
368 |
||
347 | 369 |
t.id = "56c" |
3 | 370 |
t.name = "createvmap exits with an error" |
371 |
t.usebash = True |
|
372 |
t.command = createvmap |
|
373 |
t.returncode = 1 |
|
374 |
t.targets = [] |
|
375 |
t.mustmatch = [] |
|
376 |
t.run() |
|
377 |
||
378 |
||
347 | 379 |
t.id = "56d" |
3 | 380 |
t.name = "createvmap shows cpp errors" |
381 |
t.usebash = True |
|
382 |
t.command = createvmap + vmap + bvcpp + preinc + listA + badSrc |
|
383 |
t.returncode = 1 |
|
384 |
t.targets = [] |
|
385 |
t.mustmatch = ["#error this code is broken"] |
|
386 |
t.run() |
|
387 |
||
388 |
||
347 | 389 |
t.id = "56e" |
3 | 390 |
t.name = "createvmap errors on missing feature list" |
391 |
t.usebash = True |
|
392 |
t.command = createvmap + vmap + bvcpp + preinc + listC + srcWith |
|
393 |
t.returncode = 1 |
|
394 |
t.targets = [] |
|
395 |
t.mustmatch = ["The feature list '.*listC.txt' does not exist"] |
|
396 |
t.run() |
|
397 |
||
398 |
||
347 | 399 |
t.id = "56f" |
3 | 400 |
t.name = "createvmap warns on featureless code" |
401 |
t.usebash = True |
|
402 |
t.command = createvmap + vmap + bvcpp + preinc + listA + srcWithout |
|
403 |
t.returncode = 0 |
|
404 |
t.targets = [vmapfile] |
|
405 |
t.mustmatch = ["warning: No feature macros were found in the source"] |
|
406 |
t.run() |
|
407 |
||
408 |
||
347 | 409 |
t.id = "56g" |
3 | 410 |
t.name = "createvmap creates the right vmap file" |
411 |
t.usebash = True |
|
412 |
t.command = createvmap + vmap + bvcpp + preinc + listA + listB + srcWith + srcWithout + " && cat " + vmapfile |
|
413 |
t.returncode = 0 |
|
414 |
t.targets = [vmapfile] |
|
415 |
t.mustmatch = ["A_1=defined", "B_1000=undefined"] |
|
416 |
t.run() |
|
417 |
||
418 |
||
419 |
# print the overall result |
|
420 |
t.id = "56" |
|
421 |
t.name = "featurevariants" |
|
422 |
t.print_result() |
|
423 |
return t |