591
|
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 = "61"
|
|
22 |
t.name = "smp"
|
|
23 |
#
|
|
24 |
# the command asks for ARMV5 and ARMV5SMP but the component only builds
|
|
25 |
# code for ARMV5SMP according to its bld.inf file. so, check that the
|
|
26 |
# ARMV5SMP binaries exist and the ARMV5 ones do not.
|
|
27 |
#
|
|
28 |
t.command = "sbs -b smoke_suite/test_resources/smp/bld.inf -c armv5 -c " + \
|
|
29 |
"armv5.smp"
|
|
30 |
t.targets = [
|
|
31 |
"$(EPOCROOT)/epoc32/release/armv5smp/udeb/test.exe",
|
|
32 |
"$(EPOCROOT)/epoc32/release/armv5smp/udeb/test.exe.map",
|
|
33 |
"$(EPOCROOT)/epoc32/release/armv5smp/urel/test.exe",
|
|
34 |
"$(EPOCROOT)/epoc32/release/armv5smp/urel/test.exe.map"
|
|
35 |
]
|
|
36 |
t.addbuildtargets('smoke_suite/test_resources/smp/bld.inf', [
|
|
37 |
"test_/armv5smp/udeb/test.o",
|
|
38 |
"test_/armv5smp/urel/test.o"
|
|
39 |
])
|
|
40 |
t.antitargets = [
|
|
41 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
|
|
42 |
"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
|
|
43 |
"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
|
|
44 |
"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map"
|
|
45 |
]
|
|
46 |
t.addbuildantitargets('smoke_suite/test_resources/smp/bld.inf', [
|
|
47 |
"test_/armv5/udeb/test.o",
|
|
48 |
"test_/armv5/urel/test.o"
|
|
49 |
])
|
|
50 |
t.run()
|
|
51 |
return t
|