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.description = "Test incremental rebuilding with TC on"
|
|
22 |
t.id = "114a"
|
|
23 |
t.name = "tracecompiler_incremental_clean"
|
|
24 |
t.usebash = True
|
|
25 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf -c armv5_urel.tracecompiler CLEAN"
|
|
26 |
t.run()
|
|
27 |
|
|
28 |
t.id = "114b"
|
|
29 |
t.name = "tracecompiler_incremental_prebuild"
|
|
30 |
t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf -c armv5_urel.tracecompiler -f - -m ${SBSMAKEFILE}"
|
|
31 |
t.countmatch = [ ["name='compile'",3] ]
|
|
32 |
t.targets = [
|
|
33 |
"$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso",
|
|
34 |
"$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso",
|
|
35 |
"$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll",
|
|
36 |
"$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll.map",
|
|
37 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
|
|
38 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
|
|
39 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h",
|
|
40 |
"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions",
|
|
41 |
"$(EPOCROOT)/epoc32/ost_dictionaries/testTC_0x1000008d_Dictionary.xml",
|
|
42 |
"$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/testTC_0x1000008d_TraceDefinitions.h"
|
|
43 |
]
|
|
44 |
t.run()
|
|
45 |
|
|
46 |
t.id = "114c"
|
|
47 |
t.name = "tracecompiler_incremental_rebuild"
|
|
48 |
t.command = "touch smoke_suite/test_resources/tracecompiler/testTC/src/wlanhwinit.cpp && sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf -c armv5_urel.tracecompiler -f - -m ${SBSMAKEFILE}"
|
|
49 |
t.countmatch = [ ["name='compile'",1] ]
|
|
50 |
t.targets = []
|
|
51 |
t.run()
|
|
52 |
|
|
53 |
t.id = "114"
|
|
54 |
t.name = "tracecompiler_incremental"
|
|
55 |
return t
|
|
56 |
|