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