Пример #1
0
def run():
	t = CheckWhatSmokeTest()
	t.id = "67"
	t.name = "implib_whatlog"
	t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf -f -" \
			" -m ${SBSMAKEFILE} -c armv5.whatlog -c winscw.whatlog LIBRARY"
	componentpath = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/simple_implib"))
	t.regexlinefilter = re.compile("^<(whatlog|build>)")
	t.hostossensitive = False
	t.usebash = True
	# ABIv1 .lib files are not generated on Linux
	t.targets = [
		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso",
		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso",
		"$(EPOCROOT)/epoc32/release/winscw/udeb/simple_implib.lib"
		]
	t.stdout = [
		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='"+componentpath+"/simple_implib.mmp' config='winscw_udeb.whatlog'>",
		"<build>$(EPOCROOT)/epoc32/release/winscw/udeb/simple_implib.lib</build>",
		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='"+componentpath+"/simple_implib.mmp' config='winscw_urel.whatlog'>",
		"<build>$(EPOCROOT)/epoc32/release/winscw/udeb/simple_implib.lib</build>",
		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='"+componentpath+"/simple_implib.mmp' config='armv5_udeb.whatlog'>",
		"<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso</build>",
		"<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso</build>",
		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='"+componentpath+"/simple_implib.mmp' config='armv5_urel.whatlog'>",
		"<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso</build>",
		"<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso</build>"
	]
	t.run()
	
	t.print_result()
	return t
def run():
	t = CheckWhatSmokeTest()
	t.id = "6"
	t.name = "exe_armv5_winscw_check"
	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf -c armv5 -c winscw --check"
	t.targets = [
		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map",
		"$(EPOCROOT)/epoc32/release/winscw/udeb/test.exe",
		"$(EPOCROOT)/epoc32/release/winscw/urel/test.exe",
		"$(EPOCROOT)/epoc32/release/winscw/urel/test.exe.map"
		]
	t.missing = 7
	t.returncode = 1
	t.stdout = [
	# armv5 artefacts
		"MISSING: $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
		"MISSING: $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
		"MISSING: $(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
		"MISSING: $(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map",
	# winscw artefacts
		"MISSING: $(EPOCROOT)/epoc32/release/winscw/udeb/test.exe",
		"MISSING: $(EPOCROOT)/epoc32/release/winscw/urel/test.exe",
		"MISSING: $(EPOCROOT)/epoc32/release/winscw/urel/test.exe.map"
	]
	t.run()

	t.id = "6a"
	t.name = "exe_armv5_winscw_check_error"
	t.command = "sbs -b no/such/bld.inf --check"
	t.targets = []
	t.missing = 0
	t.errors = 2
	t.returncode = 1
	t.regexlinefilter = re.compile("^NEVER") # no literal stdout matching
	t.stdout = []
	t.mustmatch = [
		"sbs: error:.*build info file does not exist",
		"sbs: error: no CHECK information found",
	]
	t.run()

	t.id = "6b"
	t.name = "exe_armv5_winscw_what_error"
	t.command = "sbs -b no/such/bld.inf --what"
	t.mustmatch = [
		"sbs: error:.*build info file does not exist",
		"sbs: error: no WHAT information found",
	]
	t.run()

	t.id = "6"
	t.name = "exe_armv5_winscw_check"
	t.print_result()
	return t
def run():
	premarkerfile = sanitise(ReplaceEnvs("$(SBS_HOME)_test_smoke_suite_test_resources_simple_zip_export_archive.zip$(EPOCROOT)_epoc32_testunzip"))
	markerfile = MetaReader.unzippedPathFragment(premarkerfile) + ".unzipped"
	
	t = CheckWhatSmokeTest()
	t.id = "0069a"
	t.name = "stringtable_zip_whatlog"
	t.command = "sbs -b smoke_suite/test_resources/simple_stringtable/bld.inf -b smoke_suite/test_resources/simple_zip_export/bld.inf -f - -m ${SBSMAKEFILE} -c armv5_udeb.whatlog EXPORT"
	componentpath1 = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/simple_stringtable"))
	componentpath2 = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/simple_zip_export"))
	t.regexlinefilter = re.compile("^<(whatlog|archive|stringtable>|member>|zipmarker>)")
	t.hostossensitive = False
	t.usebash = True
	t.targets = [
		"$(EPOCROOT)/epoc32/include/strconsts.h",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilereadonly.txt",
		"$(EPOCROOT)/epoc32/build/" + markerfile
		]
	t.addbuildtargets('smoke_suite/test_resources/simple_stringtable/bld.inf', [
		"stringtabletest_/strconsts.cpp",
		"stringtabletest_/strconsts.h",
		"stringtabletest_/strconsts.st"
	])
	t.stdout = [
		"<whatlog bldinf='"+componentpath1+"/bld.inf' mmp='"+componentpath1+"/simple_stringtable.mmp' config='armv5_udeb.whatlog'>",
		"<stringtable>$(EPOCROOT)/epoc32/include/strconsts.h</stringtable>",
		"<whatlog bldinf='"+componentpath2+"/bld.inf' mmp='' config=''>",
		"<archive zipfile='"+componentpath2+"/archive.zip'>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefilereadonly.txt</member>",
		"<zipmarker>$(EPOCROOT)/epoc32/build/" + markerfile + "</zipmarker>"
	]
	t.run()
	
	"Tests to check that up-to-date zip exports are reported"
	t.id = "0069b"
	t.name = "stringtable_zip_whatlog_rebuild"
	t.targets = []
	t.run()
	
	t.id = "69"
	t.name = "stringtable_zip_whatlog"	
	t.print_result()
	return t
Пример #4
0
def run():
	t = CheckWhatSmokeTest()
	t.id = "15"
	t.name = "implib_armv5_what"
	t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf -c " + \
			"armv5 --what LIBRARY"
	t.stdout = [
		'$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso',
		'$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso'
	]
	t.run()
	
	t.print_result()
	return t
Пример #5
0
def run():
    t = CheckWhatSmokeTest()
    t.id = "15"
    t.name = "implib_armv5_what"
    t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf -c " + \
      "armv5 --what LIBRARY"
    t.stdout = [
        '$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso',
        '$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso'
    ]
    t.run()

    t.print_result()
    return t
def run():
	premarkerfile = sanitise(ReplaceEnvs("$(SBS_HOME)_test_smoke_suite_test_resources_simple_zip_export_archive.zip$(EPOCROOT)_epoc32_testunzip"))
	markerfile = MetaReader.unzippedPathFragment(premarkerfile) + ".unzipped"
	
	t = CheckWhatSmokeTest()
	t.name = "stringtable_zip_whatlog"
	t.command = "sbs -b smoke_suite/test_resources/simple_stringtable/bld.inf -b smoke_suite/test_resources/simple_zip_export/bld.inf -f - -m ${SBSMAKEFILE} -c armv5_udeb.whatlog"
	componentpath1 = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/simple_stringtable"))
	componentpath2 = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/simple_zip_export"))
	t.regexlinefilter = re.compile("^<(whatlog|archive|stringtable>|member>|zipmarker>)")
	t.hostossensitive = False
	t.usebash = True
	t.targets = [
		"$(EPOCROOT)/epoc32/include/strconsts.h",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin",
		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilereadonly.txt",
		"$(EPOCROOT)/epoc32/build/" + markerfile
		]
	t.addbuildtargets('smoke_suite/test_resources/simple_stringtable/bld.inf', [
		"stringtabletest_/strconsts.cpp",
		"stringtabletest_/strconsts.h",
		"stringtabletest_/strconsts.st"
	])
	t.stdout = [
		"<whatlog bldinf='"+componentpath1+"/bld.inf' mmp='"+componentpath1+"/simple_stringtable.mmp' config='armv5_udeb.whatlog'>",
		"<stringtable>$(EPOCROOT)/epoc32/include/strconsts.h</stringtable>",
		"<whatlog bldinf='"+componentpath2+"/bld.inf' mmp='' config=''>",
		"<archive zipfile='"+componentpath2+"/archive.zip'>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin</member>",
		"<member>$(EPOCROOT)/epoc32/testunzip/archive/archivefilereadonly.txt</member>",
		"<zipmarker>$(EPOCROOT)/epoc32/build/" + markerfile + "</zipmarker>"
	]
	t.run()
	
	"Tests to check that up-to-date zip exports are reported"
	t.name = "stringtable_zip_whatlog_rebuild"
	t.targets = []
	t.run()
	
	t.name = "stringtable_zip_whatlog"	
	t.print_result()
	return t
Пример #7
0
def run():
    t = CheckWhatSmokeTest()
    t.id = "67"
    t.name = "implib_whatlog"
    t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf -f -" \
      " -m ${SBSMAKEFILE} -c armv5.whatlog -c winscw.whatlog LIBRARY"
    componentpath = re.sub(
        r'\\', '/',
        os.path.abspath("smoke_suite/test_resources/simple_implib"))
    t.regexlinefilter = re.compile("^<(whatlog|build>)")
    t.hostossensitive = False
    t.usebash = True
    # ABIv1 .lib files are not generated on Linux
    t.targets = [
        "$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso",
        "$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso",
        "$(EPOCROOT)/epoc32/release/winscw/udeb/simple_implib.lib"
    ]
    t.stdout = [
        "<whatlog bldinf='" + componentpath + "/bld.inf' mmp='" +
        componentpath + "/simple_implib.mmp' config='winscw_udeb.whatlog'>",
        "<build>$(EPOCROOT)/epoc32/release/winscw/udeb/simple_implib.lib</build>",
        "<whatlog bldinf='" + componentpath + "/bld.inf' mmp='" +
        componentpath + "/simple_implib.mmp' config='winscw_urel.whatlog'>",
        "<build>$(EPOCROOT)/epoc32/release/winscw/udeb/simple_implib.lib</build>",
        "<whatlog bldinf='" + componentpath + "/bld.inf' mmp='" +
        componentpath + "/simple_implib.mmp' config='armv5_udeb.whatlog'>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso</build>",
        "<whatlog bldinf='" + componentpath + "/bld.inf' mmp='" +
        componentpath + "/simple_implib.mmp' config='armv5_urel.whatlog'>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso</build>"
    ]
    t.run()

    t.print_result()
    return t
Пример #8
0
def run():
    t = CheckWhatSmokeTest()
    t.description = "Trace Compiler Whatlog Clean"
    t.name = "tracecompiler_whatlog_clean"
    t.usebash = True
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf -c armv5.tracecompiler CLEAN"
    t.regexlinefilter = re.compile("^<(whatlog|export|build>|resource>|bitmap>)")
    t.stdout = []  # There should be no whatlog rules when cleaning
    t.run()
    t.print_result()

    t.description = "Trace Compiler Whatlog test"
    t.name = "tracecompiler_whatlog"
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf -c armv5.tracecompiler -m ${SBSMAKEFILE} -f ${SBSLOGFILE} && cat ${SBSLOGFILE}"
    t.hostossensitive = False
    t.targets = [
        "$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso",
        "$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll.map",
        "$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll",
        "$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll.map",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions",
        "$(EPOCROOT)/epoc32/ost_dictionaries/test_TC_0x1000008d_Dictionary.xml",
        "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/test_TC_0x1000008d_TraceDefinitions.h",
    ]
    t.stdout = [
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/test.TC.mmp' config='armv5_urel.tracecompiler'>",
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/test.TC.mmp' config='armv5_udeb.tracecompiler'>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/ost_dictionaries/test_TC_0x1000008d_Dictionary.xml</build>",
        "<build>$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/test_TC_0x1000008d_TraceDefinitions.h</build>",
    ]
    t.run()
    t.print_result()

    t.name = "tracecompiler_whatlog_initnum_clean"
    t.targets = []
    t.stdout = []
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf -c armv5.tracecompiler CLEAN"
    t.run()
    t.print_result()

    t.name = "tracecompiler_whatlog_initnum"
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf -c armv5.tracecompiler -m ${SBSMAKEFILE} -f ${SBSLOGFILE} && cat ${SBSLOGFILE}"
    t.targets = [
        "$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings.dso",
        "$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings{000a0000}.dso",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/traces/5goldrings_dll/fixed_id.definitions",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/traces/5goldrings_dll/num_testTraces.h",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll.map",
        "$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll",
        "$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll.map",
        "$(EPOCROOT)/epoc32/ost_dictionaries/_5goldrings_dll_0xe800004d_Dictionary.xml",
        "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/_5goldrings_dll_0xe800004d_TraceDefinitions.h",
    ]

    t.stdout = [
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/5goldrings.mmp' config='armv5_urel.tracecompiler'>",
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/5goldrings.mmp' config='armv5_udeb.tracecompiler'>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings{000a0000}.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/ost_dictionaries/_5goldrings_dll_0xe800004d_Dictionary.xml</build>",
        "<build>$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/_5goldrings_dll_0xe800004d_TraceDefinitions.h</build>",
    ]
    t.run()
    t.print_result()

    return t
Пример #9
0
def run():
    t = CheckWhatSmokeTest()
    t.description = "Trace Compiler Whatlog Clean"
    t.name = "tracecompiler_whatlog_clean"
    t.usebash = True
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf -c armv5.tracecompiler CLEAN"
    t.regexlinefilter = re.compile(
        "^<(whatlog|export|build>|resource>|bitmap>)")
    t.stdout = []  # There should be no whatlog rules when cleaning
    t.run()
    t.print_result()

    t.description = "Trace Compiler Whatlog test"
    t.name = "tracecompiler_whatlog"
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf -c armv5.tracecompiler -m ${SBSMAKEFILE} -f ${SBSLOGFILE} && cat ${SBSLOGFILE}"
    t.hostossensitive = False
    t.targets = [
        "$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso",
        "$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll.map",
        "$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll",
        "$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll.map",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitTraces.h",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions",
        "$(EPOCROOT)/epoc32/ost_dictionaries/test_TC_0x1000008d_Dictionary.xml",
        "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/test_TC_0x1000008d_TraceDefinitions.h"
    ]
    t.stdout = [
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/test.TC.mmp' config='armv5_urel.tracecompiler'>",
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/group/test.TC.mmp' config='armv5_udeb.tracecompiler'>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/ost_dictionaries/test_TC_0x1000008d_Dictionary.xml</build>",
        "<build>$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/test_TC_0x1000008d_TraceDefinitions.h</build>"
    ]
    t.run()
    t.print_result()

    t.name = "tracecompiler_whatlog_initnum_clean"
    t.targets = []
    t.stdout = []
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf -c armv5.tracecompiler CLEAN"
    t.run()
    t.print_result()

    t.name = "tracecompiler_whatlog_initnum"
    t.command = "sbs -b smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf -c armv5.tracecompiler -m ${SBSMAKEFILE} -f ${SBSLOGFILE} && cat ${SBSLOGFILE}"
    t.targets = [
        "$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings.dso",
        "$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings{000a0000}.dso",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/traces/5goldrings_dll/fixed_id.definitions",
        "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/traces/5goldrings_dll/num_testTraces.h",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll",
        "$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll.map",
        "$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll",
        "$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll.map",
        "$(EPOCROOT)/epoc32/ost_dictionaries/_5goldrings_dll_0xe800004d_Dictionary.xml",
        "$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/_5goldrings_dll_0xe800004d_TraceDefinitions.h"
    ]

    t.stdout = [
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/5goldrings.mmp' config='armv5_urel.tracecompiler'>",
        "<whatlog bldinf='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/bld.inf' mmp='$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/TC_initnum/group/5goldrings.mmp' config='armv5_udeb.tracecompiler'>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/lib/5goldrings{000a0000}.dso</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/udeb/5goldrings.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll</build>",
        "<build>$(EPOCROOT)/epoc32/release/armv5/urel/5goldrings.dll.map</build>",
        "<build>$(EPOCROOT)/epoc32/ost_dictionaries/_5goldrings_dll_0xe800004d_Dictionary.xml</build>",
        "<build>$(EPOCROOT)/epoc32/include/platform/symbiantraces/autogen/_5goldrings_dll_0xe800004d_TraceDefinitions.h</build>"
    ]
    t.run()
    t.print_result()

    return t