author | Jon Chatten |
Fri, 12 Nov 2010 14:49:36 +0000 | |
changeset 674 | 37ee82a83d43 |
parent 625 | a1925fb7753a |
permissions | -rw-r--r-- |
591 | 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 |
# |
|
16 |
||
674 | 17 |
from raptor_tests import AntiTargetSmokeTest |
591 | 18 |
|
19 |
def run(): |
|
674 | 20 |
command = 'sbs -f- -s smoke_suite/test_resources/sysdef/system_definition_order_layer_test.xml ' + \ |
21 |
'-l "Metadata Export" -l "Build Generated Source" -l "Component with Layer Dependencies" -o' |
|
22 |
||
23 |
t = AntiTargetSmokeTest() |
|
24 |
t.id = "48a" |
|
591 | 25 |
t.name = "sysdef_layers" |
26 |
t.usebash = True |
|
27 |
t.description = "Test system_definition.xml layer processing and log reporting" |
|
674 | 28 |
t.command = command |
591 | 29 |
t.targets = [ |
30 |
"$(SBS_HOME)/test/smoke_suite/test_resources/sysdef/build_gen_source/exported.inf", |
|
31 |
"$(SBS_HOME)/test/smoke_suite/test_resources/sysdef/build_gen_source/exported.mmh", |
|
32 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm", |
|
674 | 33 |
"$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/HelloWorld_reg.rsc", |
34 |
"$(EPOCROOT)/epoc32/data/z/resource/apps/HelloWorld.rsc", |
|
35 |
"$(EPOCROOT)/epoc32/include/HelloWorld.rsg", |
|
591 | 36 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe", |
37 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe.sym", |
|
38 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe.map", |
|
39 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe", |
|
40 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe.sym", |
|
41 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe.map", |
|
42 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm", |
|
43 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/helloworld.exe", |
|
674 | 44 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10003a3f/apps/HelloWorld_reg.rsc", |
45 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/HelloWorld.rsc", |
|
591 | 46 |
"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm", |
47 |
"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe", |
|
48 |
"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe.map", |
|
674 | 49 |
"$(EPOCROOT)/epoc32/release/winscw/urel/z/private/10003a3f/apps/HelloWorld_reg.rsc", |
50 |
"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/HelloWorld.rsc", |
|
591 | 51 |
] |
52 |
t.addbuildtargets('smoke_suite/test_resources/sysdef/build_gen_source/bld.inf', [ |
|
674 | 53 |
"HelloWorld_/HelloWorld_HelloWorld.rsc.rpp", |
54 |
"HelloWorld_/HelloWorld_HelloWorld.rsc", |
|
55 |
"HelloWorld_/HelloWorld_HelloWorld.rsc.d" |
|
591 | 56 |
]) |
57 |
t.addbuildtargets('smoke_suite/test_resources/sysdef/dependent/bld.inf', [ |
|
58 |
"helloworld_exe/armv5/udeb/HelloWorld_Application.o", |
|
59 |
"helloworld_exe/armv5/udeb/HelloWorld_AppUi.o", |
|
60 |
"helloworld_exe/armv5/udeb/HelloWorld_AppView.o", |
|
61 |
"helloworld_exe/armv5/udeb/HelloWorld_Document.o", |
|
62 |
"helloworld_exe/armv5/udeb/HelloWorld_Main.o", |
|
63 |
"helloworld_exe/armv5/urel/HelloWorld_Application.o", |
|
64 |
"helloworld_exe/armv5/urel/HelloWorld_AppUi.o", |
|
65 |
"helloworld_exe/armv5/urel/HelloWorld_AppView.o", |
|
66 |
"helloworld_exe/armv5/urel/HelloWorld_Document.o", |
|
67 |
"helloworld_exe/armv5/urel/HelloWorld_Main.o", |
|
68 |
"helloworld_exe/winscw/udeb/HelloWorld_Application.o", |
|
69 |
"helloworld_exe/winscw/udeb/HelloWorld_AppUi.o", |
|
70 |
"helloworld_exe/winscw/udeb/HelloWorld_AppView.o", |
|
71 |
"helloworld_exe/winscw/udeb/HelloWorld_Document.o", |
|
72 |
"helloworld_exe/winscw/udeb/HelloWorld_Main.o", |
|
73 |
"helloworld_exe/winscw/udeb/helloworld.UID.CPP", |
|
74 |
"helloworld_exe/winscw/udeb/helloworld_UID_.o", |
|
75 |
"helloworld_exe/winscw/urel/HelloWorld_Application.o", |
|
76 |
"helloworld_exe/winscw/urel/HelloWorld_AppUi.o", |
|
77 |
"helloworld_exe/winscw/urel/HelloWorld_AppView.o", |
|
78 |
"helloworld_exe/winscw/urel/HelloWorld_Document.o", |
|
79 |
"helloworld_exe/winscw/urel/HelloWorld_Main.o", |
|
80 |
"helloworld_exe/winscw/urel/helloworld.UID.CPP", |
|
81 |
"helloworld_exe/winscw/urel/helloworld_UID_.o", |
|
674 | 82 |
"HelloWorld_reg_exe/HelloWorld_reg_HelloWorld_reg.rsc.rpp", |
83 |
"HelloWorld_reg_exe/HelloWorld_reg_HelloWorld_reg.rsc.d" |
|
591 | 84 |
]) |
85 |
t.countmatch = [ |
|
625
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
86 |
["<recipe .*layer='Component with Layer Dependencies' component='dependent'.*>", 33], |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
87 |
["<recipe .*layer='Build Generated Source' component='build generated source'.*>", 3] |
591 | 88 |
] |
89 |
t.run() |
|
674 | 90 |
|
91 |
t.id = "48b" |
|
92 |
t.name = "sysdef_layers_pp" |
|
93 |
t.description = "Test system definition layer building and logging with parallel processing on" |
|
94 |
t.command = command + " --pp on" |
|
95 |
t.run() |
|
96 |
||
97 |
t.id = "48" |
|
98 |
t.name = "sysdef_layers" |
|
591 | 99 |
return t |