103
|
1 |
#
|
|
2 |
# Copyright (c) 2009 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 |
|
|
17 |
from raptor_tests import SmokeTest
|
|
18 |
|
|
19 |
def run():
|
|
20 |
t = SmokeTest()
|
|
21 |
|
|
22 |
t.description = "Ensure Raptor builds Qt applications successfully"
|
|
23 |
|
|
24 |
t.id = "00xx"
|
|
25 |
t.name = "qt_apps"
|
|
26 |
t.command = "cd smoke_suite/test_resources/qt && $(EPOCROOT)/epoc32/tools/qmake -spec symbian-sbsv2 && sbs -b bld.inf"
|
|
27 |
t.targets = [
|
|
28 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/bld.inf",
|
|
29 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/qt_0xEe136753.mmp",
|
|
30 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/qt.loc",
|
|
31 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/qt.rss",
|
|
32 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/qt_reg.rss",
|
|
33 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/qt_template.pkg",
|
|
34 |
"$(SBS_HOME)/test/smoke_suite/test_resources/qt/Makefile",
|
|
35 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/qt.exe",
|
|
36 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/qt.exe.map",
|
|
37 |
"$(EPOCROOT)/epoc32/release/armv5/urel/qt.exe",
|
|
38 |
"$(EPOCROOT)/epoc32/release/armv5/urel/qt.exe.map",
|
|
39 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/qt.exe",
|
|
40 |
"$(EPOCROOT)/epoc32/release/winscw/urel/qt.exe",
|
|
41 |
"$(EPOCROOT)/epoc32/release/winscw/urel/qt.exe.map"
|
|
42 |
]
|
|
43 |
t.addbuildtargets('smoke_suite/test_resources/qt/bld.inf', [
|
|
44 |
"qt_exe/armv5/udeb/helloworld.o",
|
|
45 |
"qt_exe/armv5/udeb/helloworld.o.d",
|
|
46 |
"qt_exe/armv5/urel/helloworld.o",
|
|
47 |
"qt_exe/armv5/urel/helloworld.o.d",
|
|
48 |
"qt_exe/winscw/udeb/helloworld.o",
|
|
49 |
"qt_exe/winscw/udeb/helloworld.o.d",
|
|
50 |
"qt_exe/winscw/urel/helloworld.o",
|
|
51 |
"qt_exe/winscw/urel/helloworld.o.d"
|
|
52 |
])
|
|
53 |
t.run("windows")
|
|
54 |
|
|
55 |
return t
|
|
56 |
|
|
57 |
|