sbsv2/raptor/test/manual_suite/qt.py
branchwip
changeset 105 d4f6f170ebe2
parent 104 0d3b07196a45
child 106 acb06ca7ad48
child 107 bc8e1b2568a4
equal deleted inserted replaced
104:0d3b07196a45 105:d4f6f170ebe2
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the License "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: 
       
    15 #
       
    16 
       
    17 from raptor_tests import SmokeTest
       
    18 
       
    19 def run():
       
    20 	t = SmokeTest()
       
    21 
       
    22 	t.description = "Ensure Raptor builds Qt applications successfully"	
       
    23 
       
    24 	t.id = "00xx"
       
    25 	t.name = "qt_apps"
       
    26 	t.command = "cd manual_suite/test_resources/qt && qmake -spec symbian-sbsv2 && sbs"
       
    27 	t.targets = [
       
    28 			"$(SBS_HOME)/test/manual_suite/test_resources/qt/bld.inf",
       
    29 			"$(SBS_HOME)/test/manual_suite/test_resources/qt/helloworld.loc",
       
    30 			"$(SBS_HOME)/test/manual_suite/test_resources/qt/helloworld.rss",
       
    31 			"$(SBS_HOME)/test/manual_suite/test_resources/qt/helloworld_reg.rss",
       
    32 			"$(SBS_HOME)/test/manual_suite/test_resources/qt/helloworld_template.pkg",
       
    33 			"$(SBS_HOME)/test/manual_suite/test_resources/qt/Makefile",
       
    34 			"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe",
       
    35 			"$(EPOCROOT)/epoc32/release/armv5/udeb/helloworld.exe.map",
       
    36 			"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe",
       
    37 			"$(EPOCROOT)/epoc32/release/armv5/urel/helloworld.exe.map",
       
    38 			"$(EPOCROOT)/epoc32/release/winscw/udeb/helloworld.exe",
       
    39 			"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe",
       
    40 			"$(EPOCROOT)/epoc32/release/winscw/urel/helloworld.exe.map"
       
    41 		]
       
    42 	t.addbuildtargets('manual_suite/test_resources/qt/bld.inf', [
       
    43 		"helloworld_exe/armv5/udeb/helloworld.o",
       
    44 		"helloworld_exe/armv5/udeb/helloworld.o.d",
       
    45 		"helloworld_exe/armv5/urel/helloworld.o",
       
    46 		"helloworld_exe/armv5/urel/helloworld.o.d",
       
    47 		"helloworld_exe/winscw/udeb/helloworld.o",
       
    48 		"helloworld_exe/winscw/udeb/helloworld.o.d",	
       
    49 		"helloworld_exe/winscw/urel/helloworld.o",
       
    50 		"helloworld_exe/winscw/urel/helloworld.o.d"
       
    51 	])
       
    52 	t.run("windows")
       
    53 
       
    54 	return t
       
    55