40 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source1Traces.h", |
40 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source1Traces.h", |
41 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source2Traces.h", |
41 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source2Traces.h", |
42 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/fixed_id.definitions", |
42 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/fixed_id.definitions", |
43 "$(EPOCROOT)/epoc32/ost_dictionaries/invariant_source_0x10000002_Dictionary.xml", |
43 "$(EPOCROOT)/epoc32/ost_dictionaries/invariant_source_0x10000002_Dictionary.xml", |
44 "$(EPOCROOT)/epoc32/ost_dictionaries/variant_source_0x10000003_Dictionary.xml", |
44 "$(EPOCROOT)/epoc32/ost_dictionaries/variant_source_0x10000003_Dictionary.xml", |
45 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/invariant_source_0x10000002_TraceDefinitions.h", |
45 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/invariant_source_0x10000002_TraceDefinitions.h", |
46 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/variant_source_0x10000003_TraceDefinitions.h" |
46 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/variant_source_0x10000003_TraceDefinitions.h" |
47 ] |
47 ] |
48 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
48 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
49 "invariant_source_/armv5/udeb/inv_source.o", |
49 "invariant_source_/armv5/udeb/inv_source.o", |
50 "invariant_source_/armv5/udeb/inv_source.o.d", |
50 "invariant_source_/armv5/udeb/inv_source.o.d", |
51 "invariant_source_/armv5/urel/inv_source.o", |
51 "invariant_source_/armv5/urel/inv_source.o", |
52 "invariant_source_/armv5/urel/inv_source.o.d", |
52 "invariant_source_/armv5/urel/inv_source.o.d", |
53 "invariant_source_/winscw/udeb/inv_source.o", |
53 "invariant_source_/winscw/udeb/inv_source.o", |
54 "invariant_source_/winscw/udeb/inv_source.o.d", |
54 "invariant_source_/winscw/udeb/inv_source.o.d", |
55 "invariant_source_/winscw/urel/inv_source.o", |
55 "invariant_source_/winscw/urel/inv_source.o", |
56 "invariant_source_/winscw/urel/inv_source.o.d", |
56 "invariant_source_/winscw/urel/inv_source.o.d", |
57 "invariant_source_/tracecompile_invariant_source_10000002.done", |
57 "invariant_source_/tracecompile_invariant_source_exe_10000002.done", |
58 "variant_source_/armv5/udeb/var_source1.o", |
58 "variant_source_/armv5/udeb/var_source1.o", |
59 "variant_source_/armv5/udeb/var_source1.o.d", |
59 "variant_source_/armv5/udeb/var_source1.o.d", |
60 "variant_source_/armv5/udeb/var_source2.o", |
60 "variant_source_/armv5/udeb/var_source2.o", |
61 "variant_source_/armv5/udeb/var_source2.o.d", |
61 "variant_source_/armv5/udeb/var_source2.o.d", |
62 "variant_source_/armv5/urel/var_source1.o", |
62 "variant_source_/armv5/urel/var_source1.o", |
69 "variant_source_/winscw/udeb/var_source2.o.d", |
69 "variant_source_/winscw/udeb/var_source2.o.d", |
70 "variant_source_/winscw/urel/var_source1.o", |
70 "variant_source_/winscw/urel/var_source1.o", |
71 "variant_source_/winscw/urel/var_source1.o.d", |
71 "variant_source_/winscw/urel/var_source1.o.d", |
72 "variant_source_/winscw/urel/var_source2.o", |
72 "variant_source_/winscw/urel/var_source2.o", |
73 "variant_source_/winscw/urel/var_source2.o.d", |
73 "variant_source_/winscw/urel/var_source2.o.d", |
74 "variant_source_/tracecompile_variant_source_10000003.done" |
74 "variant_source_/tracecompile_variant_source_exe_10000003.done" |
75 ]) |
75 ]) |
76 t.antitargets = [ |
76 t.antitargets = [ |
77 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source3Traces.h" |
77 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source3Traces.h" |
78 ] |
78 ] |
79 t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
79 t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
103 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source1Traces.h", |
103 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source1Traces.h", |
104 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source2Traces.h", |
104 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source2Traces.h", |
105 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source3Traces.h", |
105 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source3Traces.h", |
106 "$(EPOCROOT)/epoc32/ost_dictionaries/invariant_source_0x10000002_Dictionary.xml", |
106 "$(EPOCROOT)/epoc32/ost_dictionaries/invariant_source_0x10000002_Dictionary.xml", |
107 "$(EPOCROOT)/epoc32/ost_dictionaries/variant_source_0x10000003_Dictionary.xml", |
107 "$(EPOCROOT)/epoc32/ost_dictionaries/variant_source_0x10000003_Dictionary.xml", |
108 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/invariant_source_0x10000002_TraceDefinitions.h", |
108 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/invariant_source_0x10000002_TraceDefinitions.h", |
109 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/variant_source_0x10000003_TraceDefinitions.h" |
109 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/variant_source_0x10000003_TraceDefinitions.h" |
110 ] |
110 ] |
111 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
111 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
112 "invariant_source_/armv5/udeb/inv_source.o", |
112 "invariant_source_/armv5/udeb/inv_source.o", |
113 "invariant_source_/armv5/udeb/inv_source.o.d", |
113 "invariant_source_/armv5/udeb/inv_source.o.d", |
114 "invariant_source_/armv5/urel/inv_source.o", |
114 "invariant_source_/armv5/urel/inv_source.o", |
115 "invariant_source_/armv5/urel/inv_source.o.d", |
115 "invariant_source_/armv5/urel/inv_source.o.d", |
116 "invariant_source_/winscw/udeb/inv_source.o", |
116 "invariant_source_/winscw/udeb/inv_source.o", |
117 "invariant_source_/winscw/udeb/inv_source.o.d", |
117 "invariant_source_/winscw/udeb/inv_source.o.d", |
118 "invariant_source_/winscw/urel/inv_source.o", |
118 "invariant_source_/winscw/urel/inv_source.o", |
119 "invariant_source_/winscw/urel/inv_source.o.d", |
119 "invariant_source_/winscw/urel/inv_source.o.d", |
120 "invariant_source_/tracecompile_invariant_source_10000002.done", |
120 "invariant_source_/tracecompile_invariant_source_exe_10000002.done", |
121 "variant_source_/armv5/udeb/var_source1.o", |
121 "variant_source_/armv5/udeb/var_source1.o", |
122 "variant_source_/armv5/udeb/var_source1.o.d", |
122 "variant_source_/armv5/udeb/var_source1.o.d", |
123 "variant_source_/armv5/udeb/var_source3.o", |
123 "variant_source_/armv5/udeb/var_source3.o", |
124 "variant_source_/armv5/udeb/var_source3.o.d", |
124 "variant_source_/armv5/udeb/var_source3.o.d", |
125 "variant_source_/armv5/urel/var_source1.o", |
125 "variant_source_/armv5/urel/var_source1.o", |
132 "variant_source_/winscw/udeb/var_source3.o.d", |
132 "variant_source_/winscw/udeb/var_source3.o.d", |
133 "variant_source_/winscw/urel/var_source1.o", |
133 "variant_source_/winscw/urel/var_source1.o", |
134 "variant_source_/winscw/urel/var_source1.o.d", |
134 "variant_source_/winscw/urel/var_source1.o.d", |
135 "variant_source_/winscw/urel/var_source3.o", |
135 "variant_source_/winscw/urel/var_source3.o", |
136 "variant_source_/winscw/urel/var_source3.o.d", |
136 "variant_source_/winscw/urel/var_source3.o.d", |
137 "variant_source_/tracecompile_variant_source_10000003.done" |
137 "variant_source_/tracecompile_variant_source_exe_10000003.done" |
138 ]) |
138 ]) |
139 t.run() |
139 t.run() |
140 |
140 |
141 # Build multiple variants together, which involves different source files in one mmp |
141 # Build multiple variants together, which involves different source files in one mmp |
142 # Raptor only call trace compiler once no matter how many variants |
142 # Raptor only call trace compiler once no matter how many variants |
157 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_mainTraces.h", |
157 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_mainTraces.h", |
158 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_aTraces.h", |
158 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_aTraces.h", |
159 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_bTraces.h", |
159 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_bTraces.h", |
160 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_cTraces.h", |
160 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/multiple_variants/traces/tc_cTraces.h", |
161 "$(EPOCROOT)/epoc32/ost_dictionaries/tc_variants_0x10000004_Dictionary.xml", |
161 "$(EPOCROOT)/epoc32/ost_dictionaries/tc_variants_0x10000004_Dictionary.xml", |
162 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/tc_variants_0x10000004_TraceDefinitions.h" |
162 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/tc_variants_0x10000004_TraceDefinitions.h" |
163 ] |
163 ] |
164 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/multiple_variants/group/bld.inf', [ |
164 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/multiple_variants/group/bld.inf', [ |
165 "tc_variants_/armv5.phone1/udeb/tc_main.o", |
165 "tc_variants_/armv5.phone1/udeb/tc_main.o", |
166 "tc_variants_/armv5.phone1/udeb/tc_a.o", |
166 "tc_variants_/armv5.phone1/udeb/tc_a.o", |
167 "tc_variants_/armv5.phone1/urel/tc_main.o", |
167 "tc_variants_/armv5.phone1/urel/tc_main.o", |
172 "tc_variants_/armv5.phone2/urel/tc_b.o", |
172 "tc_variants_/armv5.phone2/urel/tc_b.o", |
173 "tc_variants_/armv5.phone3/udeb/tc_main.o", |
173 "tc_variants_/armv5.phone3/udeb/tc_main.o", |
174 "tc_variants_/armv5.phone3/udeb/tc_c.o", |
174 "tc_variants_/armv5.phone3/udeb/tc_c.o", |
175 "tc_variants_/armv5.phone3/urel/tc_main.o", |
175 "tc_variants_/armv5.phone3/urel/tc_main.o", |
176 "tc_variants_/armv5.phone3/urel/tc_c.o", |
176 "tc_variants_/armv5.phone3/urel/tc_c.o", |
177 "tc_variants_/tracecompile_tc_variants_10000004.done" |
177 "tc_variants_/tracecompile_tc_variants_exe_10000004.done" |
178 ]) |
178 ]) |
179 t.run() |
179 t.run() |
180 |
180 |
181 # 102d and 102e is to test a very rare situation, where one mmpfile includes 3 children mmpfiles, |
181 # 102d and 102e is to test a very rare situation, where one mmpfile includes 3 children mmpfiles, |
182 # which are guarded by macros. They share some source file, and two share the same UID3. |
182 # which are guarded by macros. They share some source file, and two share the same UID3. |
193 "$(EPOCROOT)/epoc32/release/armv5/urel/child1.exe", |
193 "$(EPOCROOT)/epoc32/release/armv5/urel/child1.exe", |
194 "$(EPOCROOT)/epoc32/release/armv5/udeb/child2.exe", |
194 "$(EPOCROOT)/epoc32/release/armv5/udeb/child2.exe", |
195 "$(EPOCROOT)/epoc32/release/armv5/urel/child2.exe", |
195 "$(EPOCROOT)/epoc32/release/armv5/urel/child2.exe", |
196 "$(EPOCROOT)/epoc32/release/armv5/udeb/child3.exe", |
196 "$(EPOCROOT)/epoc32/release/armv5/udeb/child3.exe", |
197 "$(EPOCROOT)/epoc32/release/armv5/urel/child3.exe", |
197 "$(EPOCROOT)/epoc32/release/armv5/urel/child3.exe", |
198 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child1_exe/child1Traces.h", |
198 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child1_exe/child1Traces.h", |
199 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child1_exe/commonTraces.h", |
199 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child1_exe/commonTraces.h", |
200 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child2_exe/child2Traces.h", |
200 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/child2Traces.h", |
201 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child2_exe/commonTraces.h", |
201 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/commonTraces.h", |
202 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child3_exe/child3Traces.h", |
202 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/child3Traces.h", |
203 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child3_exe/commonTraces.h", |
203 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/commonTraces.h", |
204 "$(EPOCROOT)/epoc32/ost_dictionaries/child1_exe_0x11100001_Dictionary.xml", |
204 "$(EPOCROOT)/epoc32/ost_dictionaries/child1_exe_0x11100001_Dictionary.xml", |
205 "$(EPOCROOT)/epoc32/ost_dictionaries/child2_exe_0x11100002_Dictionary.xml", |
205 "$(EPOCROOT)/epoc32/ost_dictionaries/child2_exe_0x11100002_Dictionary.xml", |
206 "$(EPOCROOT)/epoc32/ost_dictionaries/child3_exe_0x11100002_Dictionary.xml", |
206 "$(EPOCROOT)/epoc32/ost_dictionaries/child3_exe_0x11100002_Dictionary.xml", |
207 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/child1_exe_0x11100001_TraceDefinitions.h", |
207 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child1_exe_0x11100001_TraceDefinitions.h", |
208 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/child2_exe_0x11100002_TraceDefinitions.h", |
208 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child2_exe_0x11100002_TraceDefinitions.h", |
209 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/child3_exe_0x11100002_TraceDefinitions.h" |
209 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child3_exe_0x11100002_TraceDefinitions.h" |
210 ] |
210 ] |
211 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf', [ |
211 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf', [ |
212 "child1_/armv5/udeb/child1.o", |
212 "child1_/armv5/udeb/child1.o", |
213 "child1_/armv5/udeb/common.o", |
213 "child1_/armv5/udeb/common.o", |
214 "child1_/armv5/urel/child1.o", |
214 "child1_/armv5/urel/child1.o", |
229 t.run() |
229 t.run() |
230 |
230 |
231 # Clean mmp A then build mmp B and C. As common.cpp is shared by A B and C, commonTraces.h would be |
231 # Clean mmp A then build mmp B and C. As common.cpp is shared by A B and C, commonTraces.h would be |
232 # cleaned when cleaning mmp A. But as B and C aren't cleaned, Raptor wouldn't run trace compiler on |
232 # cleaned when cleaning mmp A. But as B and C aren't cleaned, Raptor wouldn't run trace compiler on |
233 # B and C, thus commonTraces.h wouldn't be generated again, so be missing for mmp B and C. |
233 # B and C, thus commonTraces.h wouldn't be generated again, so be missing for mmp B and C. |
234 # The solution is to use new trace path "traces_<TARGET>_<TARGETTYPE>" instead of "traces" so shared |
234 # The solution is to use new trace path "traces/traces_<TARGET>_<TARGETTYPE>" instead of "traces" so shared |
235 # source has different copy of trace headers for different projects. |
235 # source has different copy of trace headers for different projects. |
236 t = SmokeTest() |
236 t = SmokeTest() |
237 t.id = "102e" |
237 t.id = "102e" |
238 t.name = "TC_mum_children_mmps_clean" |
238 t.name = "TC_mum_children_mmps_clean" |
239 t.command = "sbs -b smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf" + \ |
239 t.command = "sbs -b smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf" + \ |
245 t.targets = [ |
245 t.targets = [ |
246 "$(EPOCROOT)/epoc32/release/armv5/udeb/child2.exe", |
246 "$(EPOCROOT)/epoc32/release/armv5/udeb/child2.exe", |
247 "$(EPOCROOT)/epoc32/release/armv5/urel/child2.exe", |
247 "$(EPOCROOT)/epoc32/release/armv5/urel/child2.exe", |
248 "$(EPOCROOT)/epoc32/release/armv5/udeb/child3.exe", |
248 "$(EPOCROOT)/epoc32/release/armv5/udeb/child3.exe", |
249 "$(EPOCROOT)/epoc32/release/armv5/urel/child3.exe", |
249 "$(EPOCROOT)/epoc32/release/armv5/urel/child3.exe", |
250 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child2_exe/child2Traces.h", |
250 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/child2Traces.h", |
251 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child2_exe/commonTraces.h", |
251 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/commonTraces.h", |
252 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child3_exe/child3Traces.h", |
252 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/child3Traces.h", |
253 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces_child3_exe/commonTraces.h", |
253 "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/commonTraces.h", |
254 "$(EPOCROOT)/epoc32/ost_dictionaries/child2_exe_0x11100002_Dictionary.xml", |
254 "$(EPOCROOT)/epoc32/ost_dictionaries/child2_exe_0x11100002_Dictionary.xml", |
255 "$(EPOCROOT)/epoc32/ost_dictionaries/child3_exe_0x11100002_Dictionary.xml", |
255 "$(EPOCROOT)/epoc32/ost_dictionaries/child3_exe_0x11100002_Dictionary.xml", |
256 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/child2_exe_0x11100002_TraceDefinitions.h", |
256 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child2_exe_0x11100002_TraceDefinitions.h", |
257 "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/child3_exe_0x11100002_TraceDefinitions.h" |
257 "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child3_exe_0x11100002_TraceDefinitions.h" |
258 ] |
258 ] |
259 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf', [ |
259 t.addbuildtargets('smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf', [ |
260 "child2_/armv5/udeb/child2.o", |
260 "child2_/armv5/udeb/child2.o", |
261 "child2_/armv5/udeb/common.o", |
261 "child2_/armv5/udeb/common.o", |
262 "child2_/armv5/urel/child2.o", |
262 "child2_/armv5/urel/child2.o", |