5
|
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 SmokeTest
|
|
18 |
|
|
19 |
def run():
|
|
20 |
t = SmokeTest()
|
|
21 |
t.id = "71"
|
|
22 |
t.name = "metadep"
|
|
23 |
t.description = """Tests metadata dependency generation. Changes
|
|
24 |
to bld.infs and mmps can be detected."""
|
|
25 |
t.usebash = True
|
|
26 |
t.command = """export SBSLOGFILE SBSMAKEFILE; bash smoke_suite/test_resources/metadep.sh 2>&1"""
|
|
27 |
|
|
28 |
t.targets = [
|
|
29 |
]
|
|
30 |
|
|
31 |
t.mustmatch_multiline = [
|
|
32 |
""".*Step 1 .*no warnings or errors.*
|
|
33 |
sbs: build log in.*
|
|
34 |
\+ sleep 1.*
|
|
35 |
.*make -rf .*epoc32/build/metadata_all.mk.*
|
|
36 |
.*make.*epoc32/build/metadata_all.mk. is up to date.*
|
|
37 |
Step 2 .*
|
|
38 |
.*RE-RUNNING SBS with previous parameters.*
|
|
39 |
Step 3 .*
|
|
40 |
.*RE-RUNNING SBS with previous parameters.*
|
|
41 |
.*RE-RUNNING SBS with previous parameters.*"""
|
|
42 |
]
|
|
43 |
t.mustnotmatch_multiline = [
|
|
44 |
"""RE-RUNNING SBS with previous parameters.*
|
|
45 |
RE-RUNNING SBS with previous parameters.*
|
|
46 |
RE-RUNNING SBS with previous parameters.*
|
|
47 |
RE-RUNNING SBS with previous parameters.*"""
|
|
48 |
]
|
|
49 |
t.run()
|
|
50 |
return t
|