sbsv2/raptor/test/smoke_suite/qt_helloworld.py
changeset 616 24e4ef208cca
parent 591 22486c9c7b15
equal deleted inserted replaced
613:839712f5a78c 616:24e4ef208cca
    13 #
    13 #
    14 # Description: 
    14 # Description: 
    15 # This test case requires install of Qt. 
    15 # This test case requires install of Qt. 
    16 
    16 
    17 from raptor_tests import SmokeTest
    17 from raptor_tests import SmokeTest
       
    18 import os
    18 
    19 
    19 def run():
    20 def run():
    20 	t = SmokeTest()
    21 	t = SmokeTest()
    21 
    22 
    22 	t.description = "Ensure Raptor builds Qt applications successfully"	
    23 	t.description = "Ensure Raptor builds Qt applications successfully"	
    23 
    24 
    24 	t.id = "0110"
    25 	t.id = "0110"
    25 	t.name = "qt_helloworld"
    26 	t.name = "qt_helloworld"
    26 	t.command = "cd smoke_suite/test_resources/qt && qmake -spec symbian-sbsv2 && sbs"
    27 	# Internal QT deliveries use a QMAKE launcher that expects EPOCROOT to end in a slash
       
    28 	# We ensure it does (doesn't matter if there are multiple slashes)
       
    29 	t.environ["EPOCROOT"] = os.environ["EPOCROOT"] + os.sep
       
    30 	t.command = "cd smoke_suite/test_resources/qt && $(EPOCROOT)/epoc32/tools/qmake -spec symbian-sbsv2 && sbs"
    27 	t.targets = [
    31 	t.targets = [
    28 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/bld.inf",
    32 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/bld.inf",
    29 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.loc",
    33 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.loc",
    30 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.rss",
    34 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt.rss",
    31 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt_reg.rss",
    35 			"$(SBS_HOME)/test/smoke_suite/test_resources/qt/helloworldqt_reg.rss",