12 # Contributors: |
12 # Contributors: |
13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 |
16 |
17 from raptor_tests import SmokeTest |
17 from raptor_tests import AntiTargetSmokeTest, ReplaceEnvs |
18 import os |
18 import os |
19 |
19 |
20 def run(): |
20 def run(): |
21 t = SmokeTest() |
21 t = AntiTargetSmokeTest() |
22 |
22 t.usebash = True |
23 # tests for building feature variants |
23 |
24 t.id = "56" |
24 preBuiltTargets = [ |
25 t.name = "featurevariants" |
|
26 t.usebash = True |
|
27 t.command = "sbs -b smoke_suite/test_resources/bv/bld.inf -c armv5 " + \ |
|
28 "-c armv5.test_bv_1 -c armv5.test_bv_2 -c armv5.test_bv_3 " + \ |
|
29 "--configpath=test/smoke_suite/test_resources/bv -f-" |
|
30 t.targets = [ |
|
31 # prebuilt files |
|
32 "$(EPOCROOT)/epoc32/release/armv5/udeb/dummy.lib", |
25 "$(EPOCROOT)/epoc32/release/armv5/udeb/dummy.lib", |
33 "$(EPOCROOT)/epoc32/release/armv5/urel/dummy.lib", |
26 "$(EPOCROOT)/epoc32/release/armv5/urel/dummy.lib", |
34 "$(EPOCROOT)/epoc32/release/armv5/udeb/debfake.lib", |
27 "$(EPOCROOT)/epoc32/release/armv5/udeb/debfake.lib", |
35 "$(EPOCROOT)/epoc32/release/armv5/urel/relfake.lib", |
28 "$(EPOCROOT)/epoc32/release/armv5/urel/relfake.lib" |
36 |
29 ] |
37 # built files |
30 |
|
31 invariantTargets = [ |
38 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll", |
32 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll", |
39 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.map", |
33 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.map", |
40 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.sym", |
34 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.sym", |
41 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll", |
35 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll", |
42 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.map", |
36 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.map", |
43 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.sym", |
37 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.sym", |
44 |
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 = [ |
45 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll", |
65 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll", |
46 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.map", |
66 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.map", |
|
67 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym", |
47 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.vmap", |
68 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.vmap", |
48 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll", |
69 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll", |
49 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.map", |
70 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.map", |
|
71 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym", |
50 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.vmap", |
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", |
51 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.vmap", |
76 "$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.vmap", |
52 |
77 |
53 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll", |
78 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll", |
54 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.map", |
79 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.map", |
|
80 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.sym", |
55 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.vmap", |
81 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.vmap", |
56 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll", |
82 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll", |
57 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.map", |
83 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.map", |
|
84 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.sym", |
58 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.vmap", |
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", |
59 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.vmap", |
89 "$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.vmap", |
60 |
90 |
61 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll", |
91 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll", |
62 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.map", |
92 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.map", |
|
93 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.sym", |
63 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.vmap", |
94 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.vmap", |
64 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll", |
95 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll", |
65 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.map", |
96 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.map", |
|
97 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.sym", |
66 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.vmap", |
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", |
67 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.vmap", |
102 "$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.vmap", |
68 |
103 |
69 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll", |
104 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll", |
70 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.map", |
105 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.map", |
|
106 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.sym", |
71 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.vmap", |
107 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.vmap", |
72 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll", |
108 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll", |
73 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.map", |
109 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.map", |
|
110 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.sym", |
74 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.vmap", |
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", |
75 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.vmap", |
115 "$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.vmap", |
76 |
116 |
77 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll", |
117 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll", |
78 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.map", |
118 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.map", |
|
119 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.sym", |
79 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.vmap", |
120 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.vmap", |
80 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll", |
121 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll", |
81 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.map", |
122 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.map", |
|
123 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.sym", |
82 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.vmap", |
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", |
83 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.vmap", |
128 "$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.vmap", |
84 |
129 |
85 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll", |
130 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll", |
86 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.map", |
131 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.map", |
|
132 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.sym", |
87 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.vmap", |
133 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.vmap", |
88 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll", |
134 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll", |
89 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.map", |
135 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.map", |
|
136 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.sym", |
90 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.vmap", |
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", |
91 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.vmap", |
141 "$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.vmap", |
92 |
142 ] |
93 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_invariant.dso", |
143 |
94 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_invariant{000a0000}.dso", |
144 variantTargetsGeneric = [ |
95 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1.dso", |
|
96 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1{000a0000}.dso", |
|
97 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant2.dso", |
|
98 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant2{000a0000}.dso", |
|
99 |
|
100 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var1.rsc", |
145 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var1.rsc", |
101 "$(EPOCROOT)/epoc32/include/dummy_var1.rsg", |
146 "$(EPOCROOT)/epoc32/include/dummy_var1.rsg", |
102 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var2.rsc", |
147 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var2.rsc", |
103 "$(EPOCROOT)/epoc32/include/dummy_var2.rsg", |
148 "$(EPOCROOT)/epoc32/include/dummy_var2.rsg", |
104 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var3.rsc", |
149 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var3.rsc", |
105 "$(EPOCROOT)/epoc32/include/dummy_var3.rsg", |
150 "$(EPOCROOT)/epoc32/include/dummy_var3.rsg", |
106 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_inv.rsc", |
151 "$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_inv.rsc", |
107 "$(EPOCROOT)/epoc32/include/dummy_inv.rsg" |
152 "$(EPOCROOT)/epoc32/include/dummy_inv.rsg", |
108 ] |
153 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1.dso", |
109 t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf', [ |
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 = [ |
110 "createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o", |
160 "createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o", |
111 "createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o.d", |
161 "createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o.d", |
112 "createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant_udeb_objects.via", |
162 "createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant_udeb_objects.via", |
113 "createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.def", |
163 "createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.def", |
114 "createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.dso", |
164 "createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.dso", |
117 "createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant_urel_objects.via", |
167 "createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant_urel_objects.via", |
118 "createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.def", |
168 "createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.def", |
119 "createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.dso", |
169 "createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.dso", |
120 |
170 |
121 "dummy_inv_dll/dummy_inv__resource_apps_sc.rpp", |
171 "dummy_inv_dll/dummy_inv__resource_apps_sc.rpp", |
122 "dummy_inv_dll/dummy_inv__resource_apps_sc.rpp.d", |
172 "dummy_inv_dll/dummy_inv__resource_apps_sc.rpp.d" |
123 "dummy_var1_dll/dummy_var1__resource_apps_sc.rpp", |
173 ] |
124 "dummy_var1_dll/dummy_var1__resource_apps_sc.rpp.d", |
174 |
125 "dummy_var2_dll/dummy_var2__resource_apps_sc.rpp", |
175 variantBuildTargetsDefaultTree = [ |
126 "dummy_var2_dll/dummy_var2__resource_apps_sc.rpp.d", |
176 "createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o", |
127 "dummy_var3_exe/dummy_var3__resource_apps_sc.rpp", |
177 "createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o.d", |
128 "dummy_var3_exe/dummy_var3__resource_apps_sc.rpp.d", |
178 "createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1_udeb_objects.via", |
129 |
179 "createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.def", |
130 |
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", |
|
186 |
|
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", |
|
197 |
|
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 = [ |
131 "createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o", |
207 "createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o", |
132 "createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o.d", |
208 "createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o.d", |
133 "createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1_udeb_objects.via", |
209 "createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1_udeb_objects.via", |
134 "createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.def", |
210 "createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.def", |
135 "createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.dso", |
211 "createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.dso", |
214 "createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o.d", |
288 "createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o.d", |
215 "createexe_variant3_exe/armv5.three/udeb/createexe_variant3_udeb_objects.via", |
289 "createexe_variant3_exe/armv5.three/udeb/createexe_variant3_udeb_objects.via", |
216 "createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o", |
290 "createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o", |
217 "createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o.d", |
291 "createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o.d", |
218 "createexe_variant3_exe/armv5.three/urel/createexe_variant3_urel_objects.via" |
292 "createexe_variant3_exe/armv5.three/urel/createexe_variant3_urel_objects.via" |
219 ]) |
293 ] |
|
294 |
|
295 variantBuildTargetsGeneric = [ |
|
296 "dummy_var1_dll/dummy_var1__resource_apps_sc.rpp", |
|
297 "dummy_var1_dll/dummy_var1__resource_apps_sc.rpp.d", |
|
298 "dummy_var2_dll/dummy_var2__resource_apps_sc.rpp", |
|
299 "dummy_var2_dll/dummy_var2__resource_apps_sc.rpp.d", |
|
300 "dummy_var3_exe/dummy_var3__resource_apps_sc.rpp", |
|
301 "dummy_var3_exe/dummy_var3__resource_apps_sc.rpp.d" |
|
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 ) |
220 # Test that static libs are linked from the invariant place. |
318 # Test that static libs are linked from the invariant place. |
221 t.mustmatch = [ |
319 t.mustmatch = [ |
222 "armlink.*epoc32/release/armv5/urel/bv_static_lib.lib", |
320 "armlink.*epoc32/release/armv5/urel/bv_static_lib.lib", |
223 "armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib" |
321 "armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib" |
224 ] |
322 ] |
225 t.run() |
323 t.run() |
226 |
324 |
|
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 |
227 |
346 |
228 # tests for the createvmap script |
347 # tests for the createvmap script |
229 createvmap = "python $(SBS_HOME)/bin/createvmap.py" |
348 createvmap = "python $(SBS_HOME)/bin/createvmap.py" |
230 vmapfile = "$(EPOCROOT)/epoc32/build/test.vmap" |
349 vmapfile = "$(EPOCROOT)/epoc32/build/test.vmap" |
231 vmap = " -o " + vmapfile |
350 vmap = " -o " + vmapfile |