591
|
1 |
#
|
|
2 |
# Copyright (c) 2000-2010 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/tools/makefile_templates/test/mifconv.xml",
|
|
30 |
"$(EPOCROOT)/epoc32/tools/makefile_templates/test/mifconv.flm"
|
|
31 |
]
|
|
32 |
t.addbuildtargets('smoke_suite/test_resources/bitmap/bld.inf', [
|
|
33 |
"testbitmap_dll/testbitmap.mBm_bmconvcommands"
|
|
34 |
])
|
|
35 |
t.mustmatch = [
|
|
36 |
".*Makefile(_all)?.bitmap:MIFCONV_TEST:=1.*"
|
|
37 |
]
|
|
38 |
t.mustnotmatch = [
|
|
39 |
".*Makefile(_all)?.default:MIFCONV_TEST.*"
|
|
40 |
]
|
|
41 |
t.run()
|
|
42 |
return t
|