sbsv2/raptor/test/smoke_suite/qt.py
branchwip
changeset 108 7136693697ed
parent 106 acb06ca7ad48
equal deleted inserted replaced
107:bc8e1b2568a4 108:7136693697ed
    19 def run():
    19 def run():
    20 	t = SmokeTest()
    20 	t = SmokeTest()
    21 
    21 
    22 	t.description = "Ensure Raptor builds Qt applications successfully"	
    22 	t.description = "Ensure Raptor builds Qt applications successfully"	
    23 
    23 
    24 	t.id = "00xx"
    24 	t.id = "00xx"	# TO DO: update ID
    25 	t.name = "qt_apps"
    25 	t.name = "qt_helloworld"
    26 	t.command = "cd smoke_suite/test_resources/qt && qmake -spec symbian-sbsv2 && sbs"
    26 	t.command = "cd smoke_suite/test_resources/qt && qmake -spec symbian-sbsv2 && sbs"
    27 	t.targets = [
    27 	t.targets = [
    28 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/bld.inf",
    28 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/bld.inf",
    29 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworld.loc",
    29 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.loc",
    30 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworld.rss",
    30 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.rss",
    31 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworld_reg.rss",
    31 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt_reg.rss",
    32 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworld_template.pkg",
    32 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt_template.pkg",
    33 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/Makefile",
    33 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/Makefile",
    34 			"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe",
    34 			"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworldqt.exe",
    35 			"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe.map",
    35 			"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworldqt.exe.map",
    36 			"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe",
    36 			"$(EPOCROOT)/epoc32/release/armv5/urel/helloworldqt.exe",
    37 			"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe.map",
    37 			"$(EPOCROOT)/epoc32/release/armv5/urel/helloworldqt.exe.map",
    38 			"$(EPOCROOT)/epoc32/release/winscw/udeb/helloworld.exe",
    38 			"$(EPOCROOT)/epoc32/release/winscw/udeb/helloworldqt.exe",
    39 			"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe",
    39 			"$(EPOCROOT)/epoc32/release/winscw/urel/helloworldqt.exe",
    40 			"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe.map"
    40 			"$(EPOCROOT)/epoc32/release/winscw/urel/helloworldqt.exe.map"
    41 		]
    41 		]
    42 	t.addbuildtargets('smoke_suite/test_resources/qt/bld.inf', [
    42 	t.addbuildtargets('smoke_suite/test_resources/qt/bld.inf', [
    43 		"helloworld_exe/armv5/udeb/helloworld.o",
    43 		"helloworldqt_exe/armv5/udeb/helloworld.o",
    44 		"helloworld_exe/armv5/udeb/helloworld.o.d",
    44 		"helloworldqt_exe/armv5/udeb/helloworld.o.d",
    45 		"helloworld_exe/armv5/urel/helloworld.o",
    45 		"helloworldqt_exe/armv5/urel/helloworld.o",
    46 		"helloworld_exe/armv5/urel/helloworld.o.d",
    46 		"helloworldqt_exe/armv5/urel/helloworld.o.d",
    47 		"helloworld_exe/winscw/udeb/helloworld.o",
    47 		"helloworldqt_exe/winscw/udeb/helloworld.o",
    48 		"helloworld_exe/winscw/udeb/helloworld.o.d",	
    48 		"helloworldqt_exe/winscw/udeb/helloworld.o.d",	
    49 		"helloworld_exe/winscw/urel/helloworld.o",
    49 		"helloworldqt_exe/winscw/urel/helloworld.o",
    50 		"helloworld_exe/winscw/urel/helloworld.o.d"
    50 		"helloworldqt_exe/winscw/urel/helloworld.o.d"
    51 	])
    51 	])
    52 	t.run("windows")
    52 	t.run("windows")
    53 
    53 
    54 	return t
    54 	return t
    55 
    55