author | Richard Taylor <richard.i.taylor@nokia.com> |
Thu, 12 Aug 2010 09:00:16 +0100 | |
changeset 625 | a1925fb7753a |
parent 591 | 22486c9c7b15 |
permissions | -rw-r--r-- |
591 | 1 |
# |
2 |
# Copyright (c) 2009-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 CheckWhatSmokeTest |
|
18 |
import re,os |
|
19 |
||
20 |
def run(): |
|
21 |
t = CheckWhatSmokeTest() |
|
22 |
t.id = "54" |
|
23 |
t.name = "gnumakefile_what" |
|
24 |
t.command = "sbs -b smoke_suite/test_resources/gnumakefile/bld.inf --what" |
|
25 |
componentpath = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/gnumakefile")) |
|
625
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
26 |
# The raptor tests standardise on uppercase drive letters |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
27 |
# so make this the same thus it will match strings created |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
28 |
# inside make/raptor from an EPOCROOT with an uppercase |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
29 |
# drive letter. |
a1925fb7753a
sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
30 |
componentpath = componentpath[0].upper() + componentpath[1:] |
591 | 31 |
|
32 |
t.output_expected_only_once = True |
|
33 |
t.stdout = [ |
|
34 |
# Generated txt files by the gnumakefile |
|
35 |
componentpath+"/master_bld_ARMV5_UDEB.txt", |
|
36 |
componentpath+"/master_bld_ARMV5_UREL.txt", |
|
37 |
componentpath+"/master_bld_WINSCW_UDEB.txt", |
|
38 |
componentpath+"/master_bld_WINSCW_UREL.txt", |
|
39 |
componentpath+"/master_final_ARMV5_UDEB.txt", |
|
40 |
componentpath+"/master_final_ARMV5_UREL.txt", |
|
41 |
componentpath+"/master_final_WINSCW_UDEB.txt", |
|
42 |
componentpath+"/master_final_WINSCW_UREL.txt", |
|
43 |
componentpath+"/master_lib_ARMV5_UDEB.txt", |
|
44 |
componentpath+"/master_lib_ARMV5_UREL.txt", |
|
45 |
componentpath+"/master_lib_WINSCW_UDEB.txt", |
|
46 |
componentpath+"/master_lib_WINSCW_UREL.txt", |
|
47 |
componentpath+"/master_makmake_ARMV5_UDEB.txt", |
|
48 |
componentpath+"/master_makmake_ARMV5_UREL.txt", |
|
49 |
componentpath+"/master_makmake_WINSCW_UDEB.txt", |
|
50 |
componentpath+"/master_makmake_WINSCW_UREL.txt", |
|
51 |
componentpath+"/master_resource_ARMV5_UDEB.txt", |
|
52 |
componentpath+"/master_resource_ARMV5_UREL.txt", |
|
53 |
componentpath+"/master_resource_WINSCW_UDEB.txt", |
|
54 |
componentpath+"/master_resource_WINSCW_UREL.txt", |
|
55 |
componentpath+"/slave_bld_ARMV5_UDEB.txt", |
|
56 |
componentpath+"/slave_bld_ARMV5_UREL.txt", |
|
57 |
componentpath+"/slave_bld_WINSCW_UDEB.txt", |
|
58 |
componentpath+"/slave_bld_WINSCW_UREL.txt", |
|
59 |
componentpath+"/slave_final_ARMV5_UDEB.txt", |
|
60 |
componentpath+"/slave_final_ARMV5_UREL.txt", |
|
61 |
componentpath+"/slave_final_WINSCW_UDEB.txt", |
|
62 |
componentpath+"/slave_final_WINSCW_UREL.txt", |
|
63 |
componentpath+"/slave_lib_ARMV5_UDEB.txt", |
|
64 |
componentpath+"/slave_lib_ARMV5_UREL.txt", |
|
65 |
componentpath+"/slave_lib_WINSCW_UDEB.txt", |
|
66 |
componentpath+"/slave_lib_WINSCW_UREL.txt", |
|
67 |
componentpath+"/slave_makmake_ARMV5_UDEB.txt", |
|
68 |
componentpath+"/slave_makmake_ARMV5_UREL.txt", |
|
69 |
componentpath+"/slave_makmake_WINSCW_UDEB.txt", |
|
70 |
componentpath+"/slave_makmake_WINSCW_UREL.txt", |
|
71 |
componentpath+"/slave_resource_ARMV5_UDEB.txt", |
|
72 |
componentpath+"/slave_resource_ARMV5_UREL.txt", |
|
73 |
componentpath+"/slave_resource_WINSCW_UDEB.txt", |
|
74 |
componentpath+"/slave_resource_WINSCW_UREL.txt" |
|
75 |
] |
|
76 |
t.run("windows") # we don't have make 3.79 on Linux |
|
77 |
return t |