author | Richard Taylor <richard.i.taylor@nokia.com> |
Thu, 29 Apr 2010 11:10:13 +0100 | |
branch | wip |
changeset 501 | ae2462f67a30 |
parent 260 | 6956be913ed6 |
child 472 | d1500715c073 |
permissions | -rw-r--r-- |
3 | 1 |
# |
260
6956be913ed6
apply review #3865 comments
Richard Taylor <richard.i.taylor@nokia.com>
parents:
258
diff
changeset
|
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 |
||
17 |
from raptor_tests import CheckWhatSmokeTest |
|
18 |
import re, os |
|
19 |
||
20 |
def run(): |
|
21 |
t = CheckWhatSmokeTest() |
|
22 |
t.id = "66" |
|
23 |
t.name = "gui_whatlog" |
|
24 |
t.command = "sbs -b smoke_suite/test_resources/simple_gui/Bld.inf -f - -m" \ |
|
25 |
+ " ${SBSMAKEFILE} -c armv5.whatlog -c winscw.whatlog" |
|
26 |
componentpath = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/simple_gui")) |
|
27 |
t.regexlinefilter = \ |
|
28 |
re.compile("^<(whatlog|export|build>|resource>|bitmap>)") |
|
29 |
t.hostossensitive = False |
|
30 |
t.usebash = True |
|
31 |
t.targets = [ |
|
32 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm", |
|
33 |
"$(EPOCROOT)/epoc32/localisation/group/helloworld.info", |
|
34 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm", |
|
35 |
"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm", |
|
36 |
"$(EPOCROOT)/epoc32/include/helloworld.rsg", |
|
37 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.rsc", |
|
38 |
"$(EPOCROOT)/epoc32/localisation/helloworld/rsc/helloworld.rpp", |
|
39 |
"$(EPOCROOT)/epoc32/localisation/group/helloworld_reg.info", |
|
40 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.rsc", |
|
41 |
"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.rsc", |
|
42 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe", |
|
43 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe.map", |
|
44 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/helloworld.exe", |
|
45 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe", |
|
46 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe.map", |
|
47 |
"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe", |
|
48 |
"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe.map" |
|
49 |
] |
|
50 |
t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [ |
|
51 |
"helloworld_exe/helloworld.mbm_bmconvcommands", |
|
52 |
"helloworld_exe/helloworld__resource_apps_sc.rpp", |
|
53 |
"helloworld_exe/helloworld__resource_apps_sc.rpp.d", |
|
54 |
"helloworld_exe/armv5/udeb/HelloWorld_Application.o", |
|
55 |
"helloworld_exe/armv5/udeb/HelloWorld_Application.o.d", |
|
56 |
"helloworld_exe/armv5/udeb/HelloWorld_AppUi.o", |
|
57 |
"helloworld_exe/armv5/udeb/HelloWorld_AppUi.o.d", |
|
58 |
"helloworld_exe/armv5/udeb/HelloWorld_AppView.o", |
|
59 |
"helloworld_exe/armv5/udeb/HelloWorld_AppView.o.d", |
|
60 |
"helloworld_exe/armv5/udeb/HelloWorld_Document.o", |
|
61 |
"helloworld_exe/armv5/udeb/HelloWorld_Document.o.d", |
|
62 |
"helloworld_exe/armv5/udeb/HelloWorld_Main.o", |
|
63 |
"helloworld_exe/armv5/udeb/HelloWorld_Main.o.d", |
|
64 |
"helloworld_exe/armv5/udeb/helloworld_udeb_objects.via", |
|
65 |
"helloworld_exe/armv5/urel/HelloWorld_Application.o", |
|
66 |
"helloworld_exe/armv5/urel/HelloWorld_Application.o.d", |
|
67 |
"helloworld_exe/armv5/urel/HelloWorld_AppUi.o", |
|
68 |
"helloworld_exe/armv5/urel/HelloWorld_AppUi.o.d", |
|
69 |
"helloworld_exe/armv5/urel/HelloWorld_AppView.o", |
|
70 |
"helloworld_exe/armv5/urel/HelloWorld_AppView.o.d", |
|
71 |
"helloworld_exe/armv5/urel/HelloWorld_Document.o", |
|
72 |
"helloworld_exe/armv5/urel/HelloWorld_Document.o.d", |
|
73 |
"helloworld_exe/armv5/urel/HelloWorld_Main.o", |
|
74 |
"helloworld_exe/armv5/urel/HelloWorld_Main.o.d", |
|
75 |
"helloworld_exe/armv5/urel/helloworld_urel_objects.via", |
|
76 |
"helloworld_exe/winscw/udeb/helloworld.UID.CPP", |
|
77 |
"helloworld_exe/winscw/udeb/HelloWorld_Application.dep", |
|
78 |
"helloworld_exe/winscw/udeb/HelloWorld_Application.o", |
|
79 |
"helloworld_exe/winscw/udeb/HelloWorld_Application.o.d", |
|
80 |
"helloworld_exe/winscw/udeb/HelloWorld_AppUi.dep", |
|
81 |
"helloworld_exe/winscw/udeb/HelloWorld_AppUi.o", |
|
82 |
"helloworld_exe/winscw/udeb/HelloWorld_AppUi.o.d", |
|
83 |
"helloworld_exe/winscw/udeb/HelloWorld_AppView.dep", |
|
84 |
"helloworld_exe/winscw/udeb/HelloWorld_AppView.o", |
|
85 |
"helloworld_exe/winscw/udeb/HelloWorld_AppView.o.d", |
|
86 |
"helloworld_exe/winscw/udeb/HelloWorld_Document.dep", |
|
87 |
"helloworld_exe/winscw/udeb/HelloWorld_Document.o", |
|
88 |
"helloworld_exe/winscw/udeb/HelloWorld_Document.o.d", |
|
89 |
"helloworld_exe/winscw/udeb/HelloWorld_Main.dep", |
|
90 |
"helloworld_exe/winscw/udeb/HelloWorld_Main.o", |
|
91 |
"helloworld_exe/winscw/udeb/HelloWorld_Main.o.d", |
|
92 |
"helloworld_exe/winscw/udeb/helloworld_UID_.dep", |
|
93 |
"helloworld_exe/winscw/udeb/helloworld_UID_.o", |
|
94 |
"helloworld_exe/winscw/udeb/helloworld_UID_.o.d", |
|
95 |
"helloworld_exe/winscw/urel/helloworld.UID.CPP", |
|
96 |
"helloworld_exe/winscw/urel/HelloWorld_Application.dep", |
|
97 |
"helloworld_exe/winscw/urel/HelloWorld_Application.o", |
|
98 |
"helloworld_exe/winscw/urel/HelloWorld_Application.o.d", |
|
99 |
"helloworld_exe/winscw/urel/HelloWorld_AppUi.dep", |
|
100 |
"helloworld_exe/winscw/urel/HelloWorld_AppUi.o", |
|
101 |
"helloworld_exe/winscw/urel/HelloWorld_AppUi.o.d", |
|
102 |
"helloworld_exe/winscw/urel/HelloWorld_AppView.dep", |
|
103 |
"helloworld_exe/winscw/urel/HelloWorld_AppView.o", |
|
104 |
"helloworld_exe/winscw/urel/HelloWorld_AppView.o.d", |
|
105 |
"helloworld_exe/winscw/urel/HelloWorld_Document.dep", |
|
106 |
"helloworld_exe/winscw/urel/HelloWorld_Document.o", |
|
107 |
"helloworld_exe/winscw/urel/HelloWorld_Document.o.d", |
|
108 |
"helloworld_exe/winscw/urel/HelloWorld_Main.dep", |
|
109 |
"helloworld_exe/winscw/urel/HelloWorld_Main.o", |
|
110 |
"helloworld_exe/winscw/urel/HelloWorld_Main.o.d", |
|
111 |
"helloworld_exe/winscw/urel/helloworld_UID_.dep", |
|
112 |
"helloworld_exe/winscw/urel/helloworld_UID_.o", |
|
113 |
"helloworld_exe/winscw/urel/helloworld_UID_.o.d", |
|
114 |
"helloworld_reg_exe/helloworld_reg__private_10003a3f_apps_sc.rpp.d" |
|
115 |
]) |
|
116 |
t.stdout = [ |
|
117 |
"<whatlog bldinf='"+componentpath+"/Bld.inf' mmp='"+componentpath+"/HelloWorld.mmp' config='armv5_udeb.whatlog'>", |
|
118 |
"<bitmap>$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm</bitmap>", |
|
119 |
"<resource>$(EPOCROOT)/epoc32/include/helloworld.rsg</resource>", |
|
120 |
"<resource>$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.rsc</resource>", |
|
121 |
"<resource>$(EPOCROOT)/epoc32/localisation/helloworld/rsc/helloworld.rpp</resource>", |
|
122 |
"<resource>$(EPOCROOT)/epoc32/localisation/group/helloworld.info</resource>", |
|
123 |
"<resource>$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/helloworld_reg.rsc</resource>", |
|
124 |
"<resource>$(EPOCROOT)/epoc32/localisation/helloworld_reg/rsc/helloworld_reg.rpp</resource>", |
|
125 |
"<resource>$(EPOCROOT)/epoc32/localisation/group/helloworld_reg.info</resource>", |
|
126 |
"<build>$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe</build>", |
|
127 |
"<build>$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe.map</build>", |
|
128 |
"<whatlog bldinf='"+componentpath+"/Bld.inf' mmp='"+componentpath+"/HelloWorld.mmp' config='winscw_urel.whatlog'>", |
|
129 |
"<bitmap>$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm</bitmap>", |
|
130 |
"<bitmap>$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm</bitmap>", |
|
131 |
"<bitmap>$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm</bitmap>", |
|
132 |
"<resource>$(EPOCROOT)/epoc32/include/helloworld.rsg</resource>", |
|
133 |
"<resource>$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.rsc</resource>", |
|
134 |
"<resource>$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.rsc</resource>", |
|
135 |
"<resource>$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.rsc</resource>", |
|
136 |
"<resource>$(EPOCROOT)/epoc32/localisation/helloworld/rsc/helloworld.rpp</resource>", |
|
137 |
"<resource>$(EPOCROOT)/epoc32/localisation/group/helloworld.info</resource>", |
|
138 |
"<resource>$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/helloworld_reg.rsc</resource>", |
|
139 |
"<resource>$(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10003a3f/apps/helloworld_reg.rsc</resource>", |
|
140 |
"<resource>$(EPOCROOT)/epoc32/release/winscw/urel/z/private/10003a3f/apps/helloworld_reg.rsc</resource>", |
|
141 |
"<resource>$(EPOCROOT)/epoc32/localisation/helloworld_reg/rsc/helloworld_reg.rpp</resource>", |
|
142 |
"<resource>$(EPOCROOT)/epoc32/localisation/group/helloworld_reg.info</resource>", |
|
143 |
"<build>$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe</build>", |
|
144 |
"<build>$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe.map</build>", |
|
145 |
"<whatlog bldinf='"+componentpath+"/Bld.inf' mmp='"+componentpath+"/HelloWorld.mmp' config='armv5_urel.whatlog'>", |
|
146 |
"<build>$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe</build>", |
|
147 |
"<build>$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe.map</build>", |
|
148 |
"<whatlog bldinf='"+componentpath+"/Bld.inf' mmp='"+componentpath+"/HelloWorld.mmp' config='winscw_udeb.whatlog'>", |
|
149 |
"<build>$(EPOCROOT)/epoc32/release/winscw/udeb/helloworld.exe</build>", |
|
150 |
] |
|
151 |
t.run() |
|
152 |
return t |