13
|
1 |
#
|
|
2 |
# Copyright (c) 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 |
|
|
17 |
from raptor_tests import SmokeTest
|
|
18 |
|
|
19 |
def run():
|
|
20 |
t = SmokeTest()
|
|
21 |
t.description = "This testcase tests specific cases of using APPLY"
|
|
22 |
t.usebash = True
|
|
23 |
|
|
24 |
# Introduce LINKER_OPTIONS for tools2 linker
|
|
25 |
t.id = "0108"
|
18
|
26 |
t.name = "apply_usecases"
|
13
|
27 |
t.command = "sbs -b smoke_suite/test_resources/apply_usecases/linker_options/bld.inf -c tools2 -f -"
|
|
28 |
t.targets = [
|
|
29 |
"$(EPOCROOT)/epoc32/release/tools2/rel/test_apply_linkeroptions.exe"
|
|
30 |
]
|
|
31 |
t.addbuildtargets("smoke_suite/test_resources/apply_usecases/linker_options/bld.inf", [
|
|
32 |
"test_apply_linkeroptions_/test_apply_linkeroptions_exe/tools2/deb/test_apply_linkeroptions.o",
|
|
33 |
"test_apply_linkeroptions_/test_apply_linkeroptions_exe/tools2/rel/test_apply_linkeroptions.o"
|
|
34 |
])
|
|
35 |
t.mustmatch = ["-lwsock32"]
|
|
36 |
t.run("windows")
|
|
37 |
|
|
38 |
return t
|