author | timothy.murphy@nokia.com |
Fri, 30 Apr 2010 16:07:17 +0100 | |
branch | fix |
changeset 511 | 7581d432643a |
parent 351 | b7675b3e5a40 |
child 517 | b97b96f395b6 |
permissions | -rw-r--r-- |
351 | 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 |
# |
|
3 | 16 |
|
17 |
from raptor_tests import SmokeTest |
|
18 |
from raptor_tests import AntiTargetSmokeTest |
|
19 |
||
20 |
def run(): |
|
21 |
# 102a - 102b Test running trace compiler on one mmp with different source files controlled macros. |
|
22 |
t = AntiTargetSmokeTest() |
|
23 |
t.description = "Testcases (ID 102a - 102c) test trace compiler running with variants and macros" |
|
24 |
||
25 |
# 1st time build includes var_source1 and var_source2 for variant_source.mmp |
|
26 |
t.id = "102a" |
|
27 |
t.name = "TC_variant_source_var1" |
|
28 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf -c default.tc_var1" + \ |
|
29 |
" --configpath=test/smoke_suite/test_resources/tracecompiler/variant_source" |
|
30 |
t.targets = [ |
|
31 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/invariant_source.exe", |
|
32 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/variant_source.exe", |
|
33 |
"$(EPOCROOT)/epoc32/release/armv5/urel/invariant_source.exe", |
|
34 |
"$(EPOCROOT)/epoc32/release/armv5/urel/variant_source.exe", |
|
35 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/invariant_source.exe", |
|
36 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/variant_source.exe", |
|
37 |
"$(EPOCROOT)/epoc32/release/winscw/urel/invariant_source.exe", |
|
38 |
"$(EPOCROOT)/epoc32/release/winscw/urel/variant_source.exe", |
|
39 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/inv_sourceTraces.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", |
|
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", |
|
44 |
"$(EPOCROOT)/epoc32/ost_dictionaries/variant_source_0x10000003_Dictionary.xml", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
45 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/invariant_source_0x10000002_TraceDefinitions.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
46 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/variant_source_0x10000003_TraceDefinitions.h" |
3 | 47 |
] |
48 |
t.addbuildtargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
|
49 |
"invariant_source_/armv5/udeb/inv_source.o", |
|
50 |
"invariant_source_/armv5/udeb/inv_source.o.d", |
|
51 |
"invariant_source_/armv5/urel/inv_source.o", |
|
52 |
"invariant_source_/armv5/urel/inv_source.o.d", |
|
53 |
"invariant_source_/winscw/udeb/inv_source.o", |
|
54 |
"invariant_source_/winscw/udeb/inv_source.o.d", |
|
55 |
"invariant_source_/winscw/urel/inv_source.o", |
|
56 |
"invariant_source_/winscw/urel/inv_source.o.d", |
|
57 |
"invariant_source_/tracecompile_invariant_source_10000002.done", |
|
58 |
"variant_source_/armv5/udeb/var_source1.o", |
|
59 |
"variant_source_/armv5/udeb/var_source1.o.d", |
|
60 |
"variant_source_/armv5/udeb/var_source2.o", |
|
61 |
"variant_source_/armv5/udeb/var_source2.o.d", |
|
62 |
"variant_source_/armv5/urel/var_source1.o", |
|
63 |
"variant_source_/armv5/urel/var_source1.o.d", |
|
64 |
"variant_source_/armv5/urel/var_source2.o", |
|
65 |
"variant_source_/armv5/urel/var_source2.o.d", |
|
66 |
"variant_source_/winscw/udeb/var_source1.o", |
|
67 |
"variant_source_/winscw/udeb/var_source1.o.d", |
|
68 |
"variant_source_/winscw/udeb/var_source2.o", |
|
69 |
"variant_source_/winscw/udeb/var_source2.o.d", |
|
70 |
"variant_source_/winscw/urel/var_source1.o", |
|
71 |
"variant_source_/winscw/urel/var_source1.o.d", |
|
72 |
"variant_source_/winscw/urel/var_source2.o", |
|
73 |
"variant_source_/winscw/urel/var_source2.o.d", |
|
74 |
"variant_source_/tracecompile_variant_source_10000003.done" |
|
75 |
]) |
|
76 |
t.antitargets = [ |
|
77 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/var_source3Traces.h" |
|
78 |
] |
|
79 |
t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
|
80 |
"variant_source_/armv5/udeb/var_source3.o", |
|
81 |
"variant_source_/armv5/urel/var_source3.o", |
|
82 |
"variant_source_/winscw/udeb/var_source3.o", |
|
83 |
"variant_source_/winscw/urel/var_source3.o" |
|
84 |
]) |
|
350 | 85 |
t.run() |
3 | 86 |
|
87 |
# 2nd time build includes var_source1 and var_source3 for variant_source.mmp |
|
88 |
t = SmokeTest() |
|
89 |
t.id = "102b" |
|
90 |
t.name = "TC_variant_source_var2" |
|
91 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf -c default.tc_var2" + \ |
|
92 |
" --configpath=test/smoke_suite/test_resources/tracecompiler/variant_source" |
|
93 |
t.targets = [ |
|
94 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/invariant_source.exe", |
|
95 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/variant_source.exe", |
|
96 |
"$(EPOCROOT)/epoc32/release/armv5/urel/invariant_source.exe", |
|
97 |
"$(EPOCROOT)/epoc32/release/armv5/urel/variant_source.exe", |
|
98 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/invariant_source.exe", |
|
99 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/variant_source.exe", |
|
100 |
"$(EPOCROOT)/epoc32/release/winscw/urel/invariant_source.exe", |
|
101 |
"$(EPOCROOT)/epoc32/release/winscw/urel/variant_source.exe", |
|
102 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/variant_source/traces/inv_sourceTraces.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", |
|
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", |
|
107 |
"$(EPOCROOT)/epoc32/ost_dictionaries/variant_source_0x10000003_Dictionary.xml", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
108 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/invariant_source_0x10000002_TraceDefinitions.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
109 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/variant_source_0x10000003_TraceDefinitions.h" |
3 | 110 |
] |
111 |
t.addbuildtargets('smoke_suite/test_resources/tracecompiler/variant_source/group/bld.inf', [ |
|
112 |
"invariant_source_/armv5/udeb/inv_source.o", |
|
113 |
"invariant_source_/armv5/udeb/inv_source.o.d", |
|
114 |
"invariant_source_/armv5/urel/inv_source.o", |
|
115 |
"invariant_source_/armv5/urel/inv_source.o.d", |
|
116 |
"invariant_source_/winscw/udeb/inv_source.o", |
|
117 |
"invariant_source_/winscw/udeb/inv_source.o.d", |
|
118 |
"invariant_source_/winscw/urel/inv_source.o", |
|
119 |
"invariant_source_/winscw/urel/inv_source.o.d", |
|
120 |
"invariant_source_/tracecompile_invariant_source_10000002.done", |
|
121 |
"variant_source_/armv5/udeb/var_source1.o", |
|
122 |
"variant_source_/armv5/udeb/var_source1.o.d", |
|
123 |
"variant_source_/armv5/udeb/var_source3.o", |
|
124 |
"variant_source_/armv5/udeb/var_source3.o.d", |
|
125 |
"variant_source_/armv5/urel/var_source1.o", |
|
126 |
"variant_source_/armv5/urel/var_source1.o.d", |
|
127 |
"variant_source_/armv5/urel/var_source3.o", |
|
128 |
"variant_source_/armv5/urel/var_source3.o.d", |
|
129 |
"variant_source_/winscw/udeb/var_source1.o", |
|
130 |
"variant_source_/winscw/udeb/var_source1.o.d", |
|
131 |
"variant_source_/winscw/udeb/var_source3.o", |
|
132 |
"variant_source_/winscw/udeb/var_source3.o.d", |
|
133 |
"variant_source_/winscw/urel/var_source1.o", |
|
134 |
"variant_source_/winscw/urel/var_source1.o.d", |
|
135 |
"variant_source_/winscw/urel/var_source3.o", |
|
136 |
"variant_source_/winscw/urel/var_source3.o.d", |
|
137 |
"variant_source_/tracecompile_variant_source_10000003.done" |
|
138 |
]) |
|
350 | 139 |
t.run() |
3 | 140 |
|
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 |
|
143 |
# In this example, ".phone" 1 2 3 involve tc_a b c respectively, and all involve tc_main |
|
144 |
t = SmokeTest() |
|
145 |
t.id = "102c" |
|
146 |
t.name = "TC_multiple_variants" |
|
147 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/multiple_variants/group/bld.inf" + \ |
|
148 |
" -c armv5.phone1 -c armv5.phone2 -c armv5.phone3" + \ |
|
149 |
" --configpath=test/smoke_suite/test_resources/tracecompiler/multiple_variants" |
|
150 |
t.targets = [ |
|
151 |
"$(EPOCROOT)/epoc32/release/armv5.phone1/udeb/tc_variants.exe", |
|
152 |
"$(EPOCROOT)/epoc32/release/armv5.phone1/urel/tc_variants.exe", |
|
153 |
"$(EPOCROOT)/epoc32/release/armv5.phone2/udeb/tc_variants.exe", |
|
154 |
"$(EPOCROOT)/epoc32/release/armv5.phone2/urel/tc_variants.exe", |
|
155 |
"$(EPOCROOT)/epoc32/release/armv5.phone3/udeb/tc_variants.exe", |
|
156 |
"$(EPOCROOT)/epoc32/release/armv5.phone3/urel/tc_variants.exe", |
|
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", |
|
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", |
|
161 |
"$(EPOCROOT)/epoc32/ost_dictionaries/tc_variants_0x10000004_Dictionary.xml", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
162 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/tc_variants_0x10000004_TraceDefinitions.h" |
3 | 163 |
] |
164 |
t.addbuildtargets('smoke_suite/test_resources/tracecompiler/multiple_variants/group/bld.inf', [ |
|
165 |
"tc_variants_/armv5.phone1/udeb/tc_main.o", |
|
166 |
"tc_variants_/armv5.phone1/udeb/tc_a.o", |
|
167 |
"tc_variants_/armv5.phone1/urel/tc_main.o", |
|
168 |
"tc_variants_/armv5.phone1/urel/tc_a.o", |
|
169 |
"tc_variants_/armv5.phone2/udeb/tc_main.o", |
|
170 |
"tc_variants_/armv5.phone2/udeb/tc_b.o", |
|
171 |
"tc_variants_/armv5.phone2/urel/tc_main.o", |
|
172 |
"tc_variants_/armv5.phone2/urel/tc_b.o", |
|
173 |
"tc_variants_/armv5.phone3/udeb/tc_main.o", |
|
174 |
"tc_variants_/armv5.phone3/udeb/tc_c.o", |
|
175 |
"tc_variants_/armv5.phone3/urel/tc_main.o", |
|
176 |
"tc_variants_/armv5.phone3/urel/tc_c.o", |
|
177 |
"tc_variants_/tracecompile_tc_variants_10000004.done" |
|
178 |
]) |
|
350 | 179 |
t.run() |
3 | 180 |
|
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. |
|
183 |
# When build them together, Raptor should be able to distinguish them and run trace compiler |
|
184 |
# on each of them. |
|
185 |
t = SmokeTest() |
|
186 |
t.id = "102d" |
|
187 |
t.name = "TC_mum_children_mmps_build" |
|
188 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf" + \ |
|
189 |
" -c armv5.tc_var1 -c armv5.tc_var2 -c armv5.tc_var3" + \ |
|
190 |
" --configpath=test/smoke_suite/test_resources/tracecompiler/mum_children_mmps" |
|
191 |
t.targets = [ |
|
192 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/child1.exe", |
|
193 |
"$(EPOCROOT)/epoc32/release/armv5/urel/child1.exe", |
|
194 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/child2.exe", |
|
195 |
"$(EPOCROOT)/epoc32/release/armv5/urel/child2.exe", |
|
196 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/child3.exe", |
|
197 |
"$(EPOCROOT)/epoc32/release/armv5/urel/child3.exe", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
198 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child1_exe/child1Traces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
199 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child1_exe/commonTraces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
200 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/child2Traces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
201 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/commonTraces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
202 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/child3Traces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
203 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/commonTraces.h", |
3 | 204 |
"$(EPOCROOT)/epoc32/ost_dictionaries/child1_exe_0x11100001_Dictionary.xml", |
205 |
"$(EPOCROOT)/epoc32/ost_dictionaries/child2_exe_0x11100002_Dictionary.xml", |
|
206 |
"$(EPOCROOT)/epoc32/ost_dictionaries/child3_exe_0x11100002_Dictionary.xml", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
207 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child1_exe_0x11100001_TraceDefinitions.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
208 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child2_exe_0x11100002_TraceDefinitions.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
209 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child3_exe_0x11100002_TraceDefinitions.h" |
3 | 210 |
] |
211 |
t.addbuildtargets('smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf', [ |
|
212 |
"child1_/armv5/udeb/child1.o", |
|
213 |
"child1_/armv5/udeb/common.o", |
|
214 |
"child1_/armv5/urel/child1.o", |
|
215 |
"child1_/armv5/urel/common.o", |
|
216 |
"child1_/tracecompile_child1_exe_11100001.done", |
|
217 |
"child2_/armv5/udeb/child2.o", |
|
218 |
"child2_/armv5/udeb/common.o", |
|
219 |
"child2_/armv5/urel/child2.o", |
|
220 |
"child2_/armv5/urel/common.o", |
|
221 |
"child2_/tracecompile_child2_exe_11100002.done", |
|
222 |
"child3_/armv5/udeb/child3.o", |
|
223 |
"child3_/armv5/udeb/common.o", |
|
224 |
"child3_/armv5/urel/child3.o", |
|
225 |
"child3_/armv5/urel/common.o", |
|
226 |
"child3_/tracecompile_child3_exe_11100002.done" |
|
227 |
]) |
|
228 |
t.warnings = 3 |
|
350 | 229 |
t.run() |
3 | 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 |
|
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. |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
234 |
# The solution is to use new trace path "traces/traces_<TARGET>_<TARGETTYPE>" instead of "traces" so shared |
3 | 235 |
# source has different copy of trace headers for different projects. |
236 |
t = SmokeTest() |
|
237 |
t.id = "102e" |
|
238 |
t.name = "TC_mum_children_mmps_clean" |
|
239 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf" + \ |
|
240 |
" --configpath=test/smoke_suite/test_resources/tracecompiler/mum_children_mmps" + \ |
|
241 |
" -c armv5.tc_var1 CLEAN && " + \ |
|
242 |
"sbs -b smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf" + \ |
|
243 |
" --configpath=test/smoke_suite/test_resources/tracecompiler/mum_children_mmps" + \ |
|
244 |
" -c armv5.tc_var2 -c armv5.tc_var3" |
|
245 |
t.targets = [ |
|
246 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/child2.exe", |
|
247 |
"$(EPOCROOT)/epoc32/release/armv5/urel/child2.exe", |
|
248 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/child3.exe", |
|
249 |
"$(EPOCROOT)/epoc32/release/armv5/urel/child3.exe", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
250 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/child2Traces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
251 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child2_exe/commonTraces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
252 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/child3Traces.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
253 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/mum_children_mmps/traces/traces_child3_exe/commonTraces.h", |
3 | 254 |
"$(EPOCROOT)/epoc32/ost_dictionaries/child2_exe_0x11100002_Dictionary.xml", |
255 |
"$(EPOCROOT)/epoc32/ost_dictionaries/child3_exe_0x11100002_Dictionary.xml", |
|
511
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
256 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child2_exe_0x11100002_TraceDefinitions.h", |
7581d432643a
fix: support new trace compiler features for preventing clashes. Automatically turn on OST_TRACE_COMPILER_IN_USE macro. Look for trace header in systemincludes. Make directories in makefile parse to prevent clashes during build. Correct path for autogen headers. Correct case issue with autogen headers on Linux.
timothy.murphy@nokia.com
parents:
351
diff
changeset
|
257 |
"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/child3_exe_0x11100002_TraceDefinitions.h" |
3 | 258 |
] |
259 |
t.addbuildtargets('smoke_suite/test_resources/tracecompiler/mum_children_mmps/group/bld.inf', [ |
|
260 |
"child2_/armv5/udeb/child2.o", |
|
261 |
"child2_/armv5/udeb/common.o", |
|
262 |
"child2_/armv5/urel/child2.o", |
|
263 |
"child2_/armv5/urel/common.o", |
|
264 |
"child2_/tracecompile_child2_exe_11100002.done", |
|
265 |
"child3_/armv5/udeb/child3.o", |
|
266 |
"child3_/armv5/udeb/common.o", |
|
267 |
"child3_/armv5/urel/child3.o", |
|
268 |
"child3_/armv5/urel/common.o", |
|
269 |
"child3_/tracecompile_child3_exe_11100002.done" |
|
270 |
]) |
|
271 |
t.warnings = 3 |
|
350 | 272 |
t.run() |
3 | 273 |
|
274 |
||
350 | 275 |
t.id = "102" |
3 | 276 |
t.name = "tracecompiler_variants" |
350 | 277 |
t.print_result() |
278 |
||
3 | 279 |
return t |
280 |