sbsv2/raptor/test/smoke_suite/tracecompiler_general.py
changeset 18 de5b887c98f7
parent 13 c327db0664bb
equal deleted inserted replaced
14:eb060913c963 18:de5b887c98f7
    38 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
    38 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
    39 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
    39 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
    40 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h",	
    40 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h",	
    41 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions",
    41 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions",
    42 		"$(EPOCROOT)/epoc32/ost_dictionaries/testTC_0x1000008d_Dictionary.xml",
    42 		"$(EPOCROOT)/epoc32/ost_dictionaries/testTC_0x1000008d_Dictionary.xml",
    43 		"$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/testTC_0x1000008d_TraceDefinitions.h"
    43 		"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/testTC_0x1000008d_TraceDefinitions.h"
    44 		]
    44 		]
    45 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf', [
    45 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf', [
    46 		"testtc_dll/armv5/udeb/wlanhwinit.o",
    46 		"testtc_dll/armv5/udeb/wlanhwinit.o",
    47 		"testtc_dll/armv5/udeb/wlanhwinit.o.d",
    47 		"testtc_dll/armv5/udeb/wlanhwinit.o.d",
    48 		"testtc_dll/armv5/udeb/wlanhwinitmain.o",
    48 		"testtc_dll/armv5/udeb/wlanhwinitmain.o",
    57 		"testtc_dll/armv5/urel/wlanhwinitmain.o.d",
    57 		"testtc_dll/armv5/urel/wlanhwinitmain.o.d",
    58 		"testtc_dll/armv5/urel/wlanhwinitpermparser.o",
    58 		"testtc_dll/armv5/urel/wlanhwinitpermparser.o",
    59 		"testtc_dll/armv5/urel/wlanhwinitpermparser.o.d",	
    59 		"testtc_dll/armv5/urel/wlanhwinitpermparser.o.d",	
    60 		"testtc_dll/armv5/urel/testTC_urel_objects.via",
    60 		"testtc_dll/armv5/urel/testTC_urel_objects.via",
    61 		"testtc_dll/armv5/urel/testTC{000a0000}.def",
    61 		"testtc_dll/armv5/urel/testTC{000a0000}.def",
    62 		"testtc_dll/tracecompile_testTC_1000008d.done"
    62 		"testtc_dll/tracecompile_testTC_dll_1000008d.done"
    63 	])
    63 	])
    64 	t.run()
    64 	t.run()
    65 	
    65 	
    66 	# General CLEAN test for trace compiler outputs
    66 	# General CLEAN test for trace compiler outputs
    67 	t = AntiTargetSmokeTest()
    67 	t = AntiTargetSmokeTest()
    72 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
    72 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
    73 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
    73 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
    74 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h"
    74 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h"
    75 		]
    75 		]
    76 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
    76 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
    77 		"testtc_dll/tracecompile_testTC_1000008d.done"
    77 		"testtc_dll/tracecompile_testTC_dll_1000008d.done"
    78 	])
    78 	])
    79 	t.run()
    79 	t.run()
    80 			
    80 			
    81 	t = SmokeTest()
    81 	t = SmokeTest()
    82 	t.id = "101c"
    82 	t.id = "101c"
    88 		"$(EPOCROOT)/epoc32/release/armv5/urel/HelloWorld.exe",
    88 		"$(EPOCROOT)/epoc32/release/armv5/urel/HelloWorld.exe",
    89 		"$(EPOCROOT)/epoc32/release/armv5/urel/HelloWorld.exe.map",
    89 		"$(EPOCROOT)/epoc32/release/armv5/urel/HelloWorld.exe.map",
    90 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_featurevariant/traces/HelloWorldTraces.h",
    90 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_featurevariant/traces/HelloWorldTraces.h",
    91 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_featurevariant/traces/fixed_id.definitions",
    91 		"$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_featurevariant/traces/fixed_id.definitions",
    92 		"$(EPOCROOT)/epoc32/ost_dictionaries/HelloWorld_0xe78a5aa3_Dictionary.xml",
    92 		"$(EPOCROOT)/epoc32/ost_dictionaries/HelloWorld_0xe78a5aa3_Dictionary.xml",
    93 		"$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/HelloWorld_0xe78a5aa3_TraceDefinitions.h"
    93 		"$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/HelloWorld_0xe78a5aa3_TraceDefinitions.h"
    94 		]
    94 		]
    95 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_featurevariant/group/bld.inf', [
    95 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_featurevariant/group/bld.inf', [
    96 		"helloworld_exe/armv5/udeb/HelloWorld.o",
    96 		"helloworld_exe/armv5/udeb/HelloWorld.o",
    97 		"helloworld_exe/armv5/udeb/HelloWorld.o.d",
    97 		"helloworld_exe/armv5/udeb/HelloWorld.o.d",
    98 		"helloworld_exe/armv5/udeb/HelloWorld_udeb_objects.via",
    98 		"helloworld_exe/armv5/udeb/HelloWorld_udeb_objects.via",
    99 		"helloworld_exe/armv5/urel/HelloWorld.o",
    99 		"helloworld_exe/armv5/urel/HelloWorld.o",
   100 		"helloworld_exe/armv5/urel/HelloWorld.o.d",
   100 		"helloworld_exe/armv5/urel/HelloWorld.o.d",
   101 		"helloworld_exe/armv5/urel/HelloWorld_urel_objects.via",
   101 		"helloworld_exe/armv5/urel/HelloWorld_urel_objects.via",
   102 		"helloworld_exe/tracecompile_HelloWorld_e78a5aa3.done"
   102 		"helloworld_exe/tracecompile_HelloWorld_exe_e78a5aa3.done"
   103 	])
   103 	])
   104 	t.run()
   104 	t.run()
   105 
   105 
   106 	# 101d-101f test trace compiler auto mechanism, which is used to avoid wasting time on source 
   106 	# 101d-101f test trace compiler auto mechanism, which is used to avoid wasting time on source 
   107 	# containing no osttraces.
   107 	# containing no osttraces.
   118 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
   118 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
   119 		]
   119 		]
   120 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   120 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   121 		"test_/armv5/udeb/test.o",
   121 		"test_/armv5/udeb/test.o",
   122 		"test_/armv5/urel/test.o",
   122 		"test_/armv5/urel/test.o",
   123 		"test_/tracecompile_autorun1_00000001.done"
   123 		"test_/tracecompile_test_exe_00000001.done"
   124 	])
   124 	])
   125 	t.run()
   125 	t.run()
   126 	
   126 	
   127 	t = AntiTargetSmokeTest()
   127 	t = AntiTargetSmokeTest()
   128 	t.id = "101e"
   128 	t.id = "101e"
   139 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   139 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   140 		"test_/armv5/udeb/test.o",
   140 		"test_/armv5/udeb/test.o",
   141 		"test_/armv5/urel/test.o",
   141 		"test_/armv5/urel/test.o",
   142 	])
   142 	])
   143 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   143 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   144 		"test_/tracecompile_autorun2_00000001.done"
   144 		"test_/tracecompile_test_exe_00000001.done"
   145 	])
   145 	])
   146 	t.run()
   146 	t.run()
   147 
   147 
   148 	t = AntiTargetSmokeTest()
   148 	t = AntiTargetSmokeTest()
   149 	t.id = "101f"
   149 	t.id = "101f"
   160 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   160 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   161 		"test_/armv5/udeb/test.o",
   161 		"test_/armv5/udeb/test.o",
   162 		"test_/armv5/urel/test.o",
   162 		"test_/armv5/urel/test.o",
   163 	])
   163 	])
   164 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   164 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   165 		"test_/tracecompile_autorun3_00000001.done"
   165 		"test_/tracecompile_test_exe_00000001.done"
   166 	])
   166 	])
   167 	t.run()
   167 	t.run()
   168 
   168 
   169 	# Test trace compiler doesn't run when it is switched off
   169 	# Test trace compiler doesn't run when it is switched off
   170 	# Trace compiler switch is off by default. To turn it on use variant ".tracecompiler". 
   170 	# Trace compiler switch is off by default. To turn it on use variant ".tracecompiler". 
   181 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   181 	t.addbuildtargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   182 		"test_/armv5/udeb/test.o",
   182 		"test_/armv5/udeb/test.o",
   183 		"test_/armv5/urel/test.o"
   183 		"test_/armv5/urel/test.o"
   184 	])
   184 	])
   185 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   185 	t.addbuildantitargets('smoke_suite/test_resources/tracecompiler/TC_autorun/bld.inf', [
   186 		"test_/tracecompile_autorun1_00000001.done"
   186 		"test_/tracecompile_test_exe_00000001.done"
   187 	])
   187 	])
   188 	t.run()
   188 	t.run()
   189 
   189 
   190 
   190 
   191 	t.id = "101"
   191 	t.id = "101"