author | Richard Taylor <richard.i.taylor@nokia.com> |
Thu, 29 Apr 2010 11:10:13 +0100 | |
branch | wip |
changeset 501 | ae2462f67a30 |
parent 171 | 083d88a8550e |
permissions | -rw-r--r-- |
105 | 1 |
# |
171
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
2 |
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
105 | 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 |
# This test case requires install of Qt. |
|
16 |
||
17 |
from raptor_tests import SmokeTest |
|
18 |
||
19 |
def run(): |
|
20 |
t = SmokeTest() |
|
21 |
||
22 |
t.description = "Ensure Raptor builds Qt applications successfully" |
|
23 |
||
171
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
24 |
t.id = "0110" |
106 | 25 |
t.name = "qt_helloworld" |
105 | 26 |
t.command = "cd smoke_suite/test_resources/qt && qmake -spec symbian-sbsv2 && sbs" |
27 |
t.targets = [ |
|
28 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/bld.inf", |
|
106 | 29 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.loc", |
30 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.rss", |
|
31 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt_reg.rss", |
|
32 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt_template.pkg", |
|
105 | 33 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/Makefile", |
106 | 34 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworldqt.exe", |
35 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworldqt.exe.map", |
|
36 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworldqt.exe", |
|
37 |
"$(EPOCROOT)/epoc32/release/armv5/urel/helloworldqt.exe.map", |
|
38 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/helloworldqt.exe", |
|
39 |
"$(EPOCROOT)/epoc32/release/winscw/urel/helloworldqt.exe", |
|
40 |
"$(EPOCROOT)/epoc32/release/winscw/urel/helloworldqt.exe.map" |
|
105 | 41 |
] |
42 |
t.addbuildtargets('smoke_suite/test_resources/qt/bld.inf', [ |
|
106 | 43 |
"helloworldqt_exe/armv5/udeb/helloworld.o", |
44 |
"helloworldqt_exe/armv5/udeb/helloworld.o.d", |
|
45 |
"helloworldqt_exe/armv5/urel/helloworld.o", |
|
46 |
"helloworldqt_exe/armv5/urel/helloworld.o.d", |
|
47 |
"helloworldqt_exe/winscw/udeb/helloworld.o", |
|
48 |
"helloworldqt_exe/winscw/udeb/helloworld.o.d", |
|
49 |
"helloworldqt_exe/winscw/urel/helloworld.o", |
|
50 |
"helloworldqt_exe/winscw/urel/helloworld.o.d" |
|
105 | 51 |
]) |
52 |
t.run("windows") |
|
53 |
||
54 |
return t |
|
55 |