sbsv2/raptor/test/smoke_suite/bitmap.py
changeset 3 e1eecf4d390d
child 5 593a8820b912
equal deleted inserted replaced
1:be27ed110b50 3:e1eecf4d390d
       
     1 #
       
     2 # Copyright (c) 2000-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 # Component description file
       
    16 #
       
    17 from raptor_tests import SmokeTest
       
    18 
       
    19 def run():
       
    20 	t = SmokeTest()
       
    21 	t.id = "8"
       
    22 	t.name = "bitmap"
       
    23 	t.description = "This step is for testing BITMAP keyword and MIFCONV support for s60"
       
    24 	t.usebash = True
       
    25 	t.command = "sbs -b smoke_suite/test_resources/bitmap/bld.inf BITMAP && grep -ir 'MIFCONV_TEST:=1' $(EPOCROOT)/epoc32/build"
       
    26 	t.targets = [
       
    27 		"$(EPOCROOT)/epoc32/include/testbitmap.mbg",
       
    28 		"$(EPOCROOT)/epoc32/data/z/resource/apps/testbitmap.mBm",
       
    29 		"$(EPOCROOT)/epoc32/localisation/group/testbitmap.info",
       
    30 		"$(EPOCROOT)/epoc32/localisation/testbitmap/mbm/def2m.bmp",
       
    31 		"$(EPOCROOT)/epoc32/localisation/testbitmap/mbm/def3m.bmp",
       
    32 		"$(EPOCROOT)/epoc32/localisation/testbitmap/mbm/def4m.bmp",
       
    33 		"$(EPOCROOT)/epoc32/localisation/testbitmap/mbm/def24.bmp",
       
    34 		"$(EPOCROOT)/epoc32/localisation/testbitmap/mbm/def32.bmp",
       
    35 		"$(EPOCROOT)/epoc32/localisation/testbitmap/mbm/def48.bmp",
       
    36 		"$(EPOCROOT)/epoc32/tools/makefile_templates/test/mifconv.xml",
       
    37 		"$(EPOCROOT)/epoc32/tools/makefile_templates/test/mifconv.flm"
       
    38 		]
       
    39 	t.addbuildtargets('smoke_suite/test_resources/bitmap/bld.inf', [
       
    40 		"testbitmap_dll/testbitmap.mBm_bmconvcommands"
       
    41 	])
       
    42 	t.mustmatch = [
       
    43 		".*Makefile.bitmap:MIFCONV_TEST:=1.*"
       
    44 	]
       
    45 	t.mustnotmatch = [
       
    46 		".*Makefile.default:MIFCONV_TEST.*"
       
    47 	]
       
    48 	t.run()
       
    49 	return t