3
|
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 |
t.id = "51"
|
|
22 |
t.name = "tools2"
|
|
23 |
t.command = "sbs -b smoke_suite/test_resources/tools2/bld.inf -c tools2"
|
|
24 |
|
|
25 |
|
|
26 |
t.targets = [
|
|
27 |
"$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib1.a",
|
|
28 |
"$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib2.a",
|
|
29 |
"$(EPOCROOT)/epoc32/release/tools2/deb/tool_exe.exe",
|
|
30 |
"$(EPOCROOT)/epoc32/release/tools2/rel/libtool_lib1.a",
|
|
31 |
"$(EPOCROOT)/epoc32/release/tools2/rel/libtool_lib2.a",
|
|
32 |
"$(EPOCROOT)/epoc32/release/tools2/rel/tool_exe.exe",
|
|
33 |
"$(EPOCROOT)/epoc32/tools/tool_exe.exe",
|
|
34 |
]
|
|
35 |
t.addbuildtargets("smoke_suite/test_resources/tools2/bld.inf", [
|
|
36 |
"libtool_lib1_a/libtool_lib1_lib/tools2/rel/tool_lib1_b.o",
|
|
37 |
"libtool_lib1_a/libtool_lib1_lib/tools2/rel/tool_lib1_a.o",
|
|
38 |
"libtool_lib2_a/libtool_lib2_lib/tools2/rel/tool_lib2_b.o",
|
|
39 |
"libtool_lib2_a/libtool_lib2_lib/tools2/rel/tool_lib2_a.o",
|
|
40 |
"libtool_lib1_a/libtool_lib1_lib/tools2/deb/tool_lib1_b.o",
|
|
41 |
"libtool_lib1_a/libtool_lib1_lib/tools2/deb/tool_lib1_a.o",
|
|
42 |
"libtool_lib2_a/libtool_lib2_lib/tools2/deb/tool_lib2_a.o",
|
|
43 |
"libtool_lib2_a/libtool_lib2_lib/tools2/deb/tool_lib2_b.o",
|
|
44 |
"tool_exe_exe/tool_exe_exe/tools2/rel/tool_exe_a.o",
|
|
45 |
"tool_exe_exe/tool_exe_exe/tools2/rel/tool_exe_b.o",
|
|
46 |
"tool_exe_exe/tool_exe_exe/tools2/deb/tool_exe_b.o",
|
|
47 |
"tool_exe_exe/tool_exe_exe/tools2/deb/tool_exe_a.o"
|
|
48 |
])
|
|
49 |
|
|
50 |
t.run("windows") # tools2 output is platform dependent
|
|
51 |
|
|
52 |
if t.result == SmokeTest.SKIP:
|
|
53 |
t.targets = [
|
|
54 |
"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/deb/tool_exe",
|
|
55 |
"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/deb/libtool_lib1.a",
|
|
56 |
"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/deb/libtool_lib2.a",
|
|
57 |
"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/rel/tool_exe",
|
|
58 |
"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/rel/libtool_lib1.a",
|
|
59 |
"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/rel/libtool_lib2.a",
|
|
60 |
"$(EPOCROOT)/epoc32/tools/tool_exe"
|
|
61 |
]
|
|
62 |
t.addbuildtargets("smoke_suite/test_resources/tools2/bld.inf", [
|
|
63 |
"libtool_lib1_a/libtool_lib1_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib1_b.o",
|
|
64 |
"libtool_lib1_a/libtool_lib1_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib1_a.o",
|
|
65 |
"libtool_lib2_a/libtool_lib2_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib2_b.o",
|
|
66 |
"libtool_lib2_a/libtool_lib2_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib2_a.o",
|
|
67 |
"libtool_lib1_a/libtool_lib1_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib1_b.o",
|
|
68 |
"libtool_lib1_a/libtool_lib1_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib1_a.o",
|
|
69 |
"libtool_lib2_a/libtool_lib2_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib2_a.o",
|
|
70 |
"libtool_lib2_a/libtool_lib2_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib2_b.o",
|
|
71 |
"tool_exe_exe/tool_exe_exe/tools2/rel/$(HOSTPLATFORM_DIR)/tool_exe_a.o",
|
|
72 |
"tool_exe_exe/tool_exe_exe/tools2/rel/$(HOSTPLATFORM_DIR)/tool_exe_b.o",
|
|
73 |
"tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_b.o",
|
|
74 |
"tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_a.o"
|
|
75 |
])
|
|
76 |
t.run("linux") # tools2 output is platform dependent
|
|
77 |
|
|
78 |
return t
|