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 AntiTargetSmokeTest
|
|
18 |
|
|
19 |
def run():
|
|
20 |
t = AntiTargetSmokeTest()
|
22
|
21 |
|
|
22 |
rootcommand = "sbs -b smoke_suite/test_resources/simple_dll/bld.inf"
|
|
23 |
targets = [
|
3
|
24 |
"$(EPOCROOT)/epoc32/release/armv6/udeb/createstaticdll.dll.sym",
|
|
25 |
"$(EPOCROOT)/epoc32/release/armv6/urel/createstaticdll.dll.sym",
|
|
26 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll.dso",
|
|
27 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll{000a0000}.dso",
|
|
28 |
"$(EPOCROOT)/epoc32/release/armv6/udeb/createstaticdll.dll",
|
|
29 |
"$(EPOCROOT)/epoc32/release/armv6/urel/createstaticdll.dll"
|
|
30 |
]
|
22
|
31 |
antitargets = [
|
3
|
32 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll.lib",
|
|
33 |
"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll{000a0000}.lib"
|
|
34 |
]
|
22
|
35 |
buildtargets = [
|
3
|
36 |
"createstaticdll_dll/armv6/udeb/CreateStaticDLL.o",
|
|
37 |
"createstaticdll_dll/armv6/urel/CreateStaticDLL.o",
|
|
38 |
"createstaticdll_dll/armv6/udeb/armv6_specific.o",
|
|
39 |
"createstaticdll_dll/armv6/urel/armv6_specific.o"
|
22
|
40 |
]
|
|
41 |
|
|
42 |
t.id = "0097a"
|
|
43 |
t.name = "dll_armv6_rvct"
|
|
44 |
t.command = rootcommand + " -c armv6"
|
|
45 |
t.targets = targets
|
|
46 |
t.antitargets = antitargets
|
|
47 |
t.addbuildtargets("smoke_suite/test_resources/simple_dll/bld.inf", buildtargets)
|
3
|
48 |
t.run()
|
22
|
49 |
|
|
50 |
t.id = "0097b"
|
|
51 |
t.name = "dll_armv6_clean"
|
|
52 |
t.command = rootcommand + " -c armv6 clean"
|
|
53 |
t.targets = []
|
|
54 |
t.antitargets = []
|
|
55 |
t.run()
|
|
56 |
|
|
57 |
t.id = "0097c"
|
|
58 |
t.name = "dll_armv6_gcce"
|
|
59 |
t.command = rootcommand + " -c arm.v6.udeb.gcce4_3_2 -c arm.v6.urel.gcce4_3_2"
|
|
60 |
t.targets = targets
|
|
61 |
t.antitargets = antitargets
|
|
62 |
t.addbuildtargets("smoke_suite/test_resources/simple_dll/bld.inf", buildtargets)
|
|
63 |
t.run()
|
|
64 |
|
|
65 |
t.id = "97"
|
|
66 |
t.name = "dll_armv6"
|
|
67 |
t.print_result()
|
3
|
68 |
return t
|