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 = "76"
|
|
22 |
t.name = "nobuild"
|
|
23 |
|
|
24 |
t.usebash = True
|
|
25 |
t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf CLEAN " + \
|
|
26 |
"&& sbs -b smoke_suite/test_resources/simple/bld.inf -n -m ${SBSMAKEFILE} -f ${SBSLOGFILE} " + \
|
|
27 |
"&& grep -i 'No build performed' ${SBSLOGFILE}"
|
|
28 |
|
|
29 |
t.targets = []
|
|
30 |
t.addbuildtargets('smoke_suite/test_resources/simple/bld.inf', [])
|
|
31 |
t.antitargets = [
|
|
32 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
|
|
33 |
"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
|
|
34 |
"$(EPOCROOT)/epoc32/release/winscw/udeb/test.exe",
|
|
35 |
"$(EPOCROOT)/epoc32/release/winscw/urel/test.exe"
|
|
36 |
]
|
|
37 |
t.addbuildantitargets('smoke_suite/test_resources/simple/bld.inf', [
|
|
38 |
"test_/armv5/udeb/test.o",
|
|
39 |
"test_/armv5/urel/test.o",
|
|
40 |
"test_/armv5/udeb/test3.o",
|
|
41 |
"test_/armv5/udeb/test4.o",
|
|
42 |
"test_/armv5/udeb/test5.o",
|
|
43 |
"test_/armv5/udeb/test1.o",
|
|
44 |
"test_/armv5/udeb/test6.o",
|
|
45 |
"test_/armv5/udeb/test2.o",
|
|
46 |
"test_/armv5/urel/test3.o",
|
|
47 |
"test_/armv5/urel/test4.o",
|
|
48 |
"test_/armv5/urel/test5.o",
|
|
49 |
"test_/armv5/urel/test1.o",
|
|
50 |
"test_/armv5/urel/test6.o",
|
|
51 |
"test_/armv5/urel/test2.o",
|
|
52 |
"test_/winscw/udeb/test.o",
|
|
53 |
"test_/winscw/urel/test.o",
|
|
54 |
"test_/winscw/udeb/test3.o",
|
|
55 |
"test_/winscw/udeb/test4.o",
|
|
56 |
"test_/winscw/udeb/test5.o",
|
|
57 |
"test_/winscw/udeb/test1.o",
|
|
58 |
"test_/winscw/udeb/test6.o",
|
|
59 |
"test_/winscw/udeb/test2.o",
|
|
60 |
"test_/winscw/urel/test3.o",
|
|
61 |
"test_/winscw/urel/test4.o",
|
|
62 |
"test_/winscw/urel/test5.o",
|
|
63 |
"test_/winscw/urel/test1.o",
|
|
64 |
"test_/winscw/urel/test6.o",
|
|
65 |
"test_/winscw/urel/test2.o"
|
|
66 |
])
|
|
67 |
t.mustmatch = [
|
|
68 |
".*No build performed.*"
|
|
69 |
]
|
|
70 |
|
|
71 |
t.run()
|
|
72 |
return t
|