sbsv2/raptor/test/smoke_suite/tracecompiler_incremental.py
branchfix
changeset 185 69334660be7a
child 186 faf065016d1f
equal deleted inserted replaced
184:860699b2b944 185:69334660be7a
       
     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 
       
    23 	t.id = "114a"
       
    24 	t.name = "tracecompiler_incremental_prebuild"
       
    25 	t.usebash = 1
       
    26 	t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf -c armv5.tracecompiler.udeb -f - -m ${SBSMAKEFILE}"
       
    27 	t.countmatch = [ ["name='compile'",3] ]
       
    28 	t.targets = [
       
    29 		"$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso",
       
    30 		"$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso",
       
    31 		"$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.lib",
       
    32 		"$(EPOCROOT)/epoc32/release/armv5/lib/testTC.lib",
       
    33 		"$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll",
       
    34 		"$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll.map",
       
    35 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
       
    36 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
       
    37 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h",	
       
    38 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions",
       
    39 		"$(EPOCROOT)/epoc32/ost_dictionaries/testTC_0x1000008d_Dictionary.xml",
       
    40 		"$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/testTC_0x1000008d_TraceDefinitions.h"
       
    41 		]
       
    42 	t.run()
       
    43 
       
    44 	t.id = "114b"
       
    45 	t.name = "tracecompiler_incremental_rebuild"
       
    46 	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.tracecompiler.udeb -f - -m ${SBSMAKEFILE}"
       
    47 	t.countmatch = [ ["name='compile'",1] ]
       
    48 	t.targets = []
       
    49 	t.run()
       
    50 
       
    51 	t.id = "114"
       
    52 	t.name = "tracecompiler_incremental"
       
    53 	return t
       
    54