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()
|
|
21 |
t.id = "43"
|
|
22 |
t.name = "named_extension"
|
|
23 |
t.description = "Test -p option with named extensions - should clean then" \
|
|
24 |
+ " create success.txt"
|
|
25 |
t.command = "sbs -b smoke_suite/test_resources/basics/helloworld/Bld.inf " \
|
|
26 |
+ "REALLYCLEAN && sbs -b " \
|
|
27 |
+ "smoke_suite/test_resources/basics/helloworld/Bld.inf -p run_this"
|
|
28 |
t.targets = [
|
|
29 |
"$(EPOCROOT)/epoc32/success.txt"
|
|
30 |
]
|
|
31 |
t.antitargets = [
|
|
32 |
"$(EPOCROOT)/epoc32/failure.txt",
|
|
33 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/HelloWorld.exe",
|
|
34 |
"$(EPOCROOT)/epoc32/release/armv5/urel/HelloWorld.exe",
|
|
35 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/HelloWorld.exe",
|
|
36 |
"$(EPOCROOT)/epoc32/release/winscw/urel/HelloWorld.exe"
|
|
37 |
]
|
|
38 |
t.addbuildantitargets("smoke_suite/test_resources/basics/helloworld/Bld.inf", [
|
|
39 |
"$(EPOCROOT)/epoc32/build/basics/helloworld/helloworld_exe/armv5/udeb/HelloWorld.o",
|
|
40 |
"$(EPOCROOT)/epoc32/build/basics/helloworld/helloworld_exe/armv5/urel/HelloWorld.o",
|
|
41 |
"$(EPOCROOT)/epoc32/build/basics/helloworld/helloworld_exe/winscw/udeb/HelloWorld.o",
|
|
42 |
"$(EPOCROOT)/epoc32/build/basics/helloworld/helloworld_exe/winscw/urel/HelloWorld.o"
|
|
43 |
])
|
|
44 |
t.run()
|
|
45 |
return t
|