sbsv2/raptor/test/smoke_suite/resource.py
changeset 3 e1eecf4d390d
child 258 7e9cb59abb3f
equal deleted inserted replaced
1:be27ed110b50 3:e1eecf4d390d
       
     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 	t.id = "30"
       
    22 	t.name =  "resource"
       
    23 	t.command = "sbs -b smoke_suite/test_resources/resource/group/bld.inf -b smoke_suite/test_resources/simple_gui/Bld.inf RESOURCE"
       
    24 	t.targets = [
       
    25 		"$(EPOCROOT)/epoc32/include/testresource.rsg",
       
    26 		"$(EPOCROOT)/epoc32/include/testresource.hrh",
       
    27 		"$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.r01",
       
    28 		"$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc",
       
    29 		"$(EPOCROOT)/epoc32/localisation/group/testresource.info",
       
    30 		"$(EPOCROOT)/epoc32/localisation/testresource/rsc/testresource.rpp",
       
    31 		
       
    32 		"$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm",
       
    33 		"$(EPOCROOT)/epoc32/localisation/helloworld/mbm/icon24.bmp",
       
    34 		"$(EPOCROOT)/epoc32/localisation/helloworld/mbm/icon2m.bmp",
       
    35 		"$(EPOCROOT)/epoc32/localisation/helloworld/mbm/icon32.bmp",
       
    36 		"$(EPOCROOT)/epoc32/localisation/helloworld/mbm/icon3m.bmp",
       
    37 		"$(EPOCROOT)/epoc32/localisation/helloworld/mbm/icon48.bmp",
       
    38 		"$(EPOCROOT)/epoc32/localisation/helloworld/mbm/icon4m.bmp",
       
    39 		"$(EPOCROOT)/epoc32/localisation/group/helloworld.info",
       
    40 		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm",
       
    41 		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm",
       
    42 		"$(EPOCROOT)/epoc32/include/helloworld.rsg",
       
    43 		"$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.rsc",
       
    44 		"$(EPOCROOT)/epoc32/localisation/helloworld/rsc/helloworld.rpp",
       
    45 		"$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/helloworld_reg.rsc",
       
    46 		"$(EPOCROOT)/epoc32/localisation/helloworld_reg/rsc/helloworld_reg.rpp",
       
    47 		"$(EPOCROOT)/epoc32/localisation/group/helloworld_reg.info",
       
    48 		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.rsc",
       
    49 		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.rsc",
       
    50 		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10003a3f/apps/helloworld_reg.rsc",
       
    51 		"$(EPOCROOT)/epoc32/release/winscw/urel/z/private/10003a3f/apps/helloworld_reg.rsc"	
       
    52 		]
       
    53 	
       
    54 	t.addbuildtargets('smoke_suite/test_resources/resource/group/bld.inf', [	
       
    55 		"testresource_/testresource_resource_testresource2_sc.rpp.d",
       
    56 		"testresource_/testresource_resource_testresource3_02.rpp",
       
    57 		"testresource_/testresource_resource_testresource3_02.rpp.d",
       
    58 		"testresource_/testresource_resource_testresource3_sc.rpp",
       
    59 		"testresource_/testresource_resource_testresource3_sc.rpp.d",
       
    60 		"testresource_/testresource_resource_testresource_01.rpp",
       
    61 		"testresource_/testresource_resource_testresource_01.rpp.d",
       
    62 		"testresource_/testresource_resource_testresource_sc.rpp",
       
    63 		"testresource_/testresource_resource_testresource_sc.rpp.d"])
       
    64 
       
    65 	t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [
       
    66 		"helloworld_exe/helloworld.mbm_bmconvcommands",
       
    67 		"helloworld_exe/helloworld__resource_apps_sc.rpp",
       
    68 		"helloworld_exe/helloworld__resource_apps_sc.rpp.d",
       
    69 		"helloworld_reg_exe/helloworld_reg__private_10003a3f_apps_sc.rpp",
       
    70 		"helloworld_reg_exe/helloworld_reg__private_10003a3f_apps_sc.rpp.d"])
       
    71 
       
    72 	t.run()
       
    73 	return t