591
|
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.id = "300"
|
|
22 |
t.name = "variantplatforms"
|
|
23 |
t.description = "Can all the variant platforms be built at the same time."
|
|
24 |
|
|
25 |
variantplatforms = ["armv5", "armv6", "armv7", "arm9e"]
|
|
26 |
|
|
27 |
t.usebash = True
|
|
28 |
t.command = "sbs -b smoke_suite/test_resources/variantplatforms/bld.inf -f-"
|
|
29 |
t.mustmatch_singleline = []
|
|
30 |
|
|
31 |
for vp in variantplatforms:
|
|
32 |
t.command += " -c " + vp
|
|
33 |
t.mustmatch_singleline.append("building variant platform " + vp)
|
|
34 |
|
|
35 |
t.run()
|
|
36 |
|
|
37 |
t.print_result()
|
|
38 |
return t
|