sbsv2/raptor/test/smoke_suite/tools.py
author srilekhas
Fri, 08 Oct 2010 21:02:28 +0100
changeset 650 8f038057ffa5
parent 591 22486c9c7b15
permissions -rw-r--r--
Added in fix to Bug 2149
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     1
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     2
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     3
# All rights reserved.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     4
# This component and the accompanying materials are made available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     6
# which accompanies this distribution, and is available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     8
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     9
# Initial Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    11
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    12
# Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    13
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    14
# Description: 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    15
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    16
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    17
from raptor_tests import SmokeTest
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    19
def run():	
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    20
	t = SmokeTest()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    21
	t.id = "52"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    22
	t.name = "tools"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    23
	t.command = "sbs -b smoke_suite/test_resources/tools/bld.inf -c tools"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    24
	t.targets = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    25
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.bsc",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    26
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    27
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.ilk",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    28
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.bsc",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    29
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    30
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.bsc",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    31
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    32
		"$(EPOCROOT)/epoc32/release/tools/rel/tool_exe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    33
		"$(EPOCROOT)/epoc32/release/tools/rel/tool_lib1.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    34
		"$(EPOCROOT)/epoc32/release/tools/rel/tool_lib2.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    35
		"$(EPOCROOT)/epoc32/tools/tool_exe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    36
		"$(EPOCROOT)/epoc32/tools/tool_lib1.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    37
		"$(EPOCROOT)/epoc32/tools/tool_lib2.lib"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    38
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    39
	t.addbuildtargets('smoke_suite/test_resources/tools/bld.inf', [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    40
		"tool_exe_exe/tools/deb/tool_exe_a.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    41
		"tool_exe_exe/tools/deb/tool_exe_a.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    42
		"tool_exe_exe/tools/deb/tool_exe_b.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    43
		"tool_exe_exe/tools/deb/tool_exe_b.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    44
		"tool_exe_exe/tools/rel/tool_exe_a.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    45
		"tool_exe_exe/tools/rel/tool_exe_a.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    46
		"tool_exe_exe/tools/rel/tool_exe_b.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    47
		"tool_exe_exe/tools/rel/tool_exe_b.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    48
		"tool_lib1_lib/tools/deb/tool_lib1_a.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    49
		"tool_lib1_lib/tools/deb/tool_lib1_a.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    50
		"tool_lib1_lib/tools/deb/tool_lib1_b.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    51
		"tool_lib1_lib/tools/deb/tool_lib1_b.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    52
		"tool_lib1_lib/tools/rel/tool_lib1_a.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    53
		"tool_lib1_lib/tools/rel/tool_lib1_a.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    54
		"tool_lib1_lib/tools/rel/tool_lib1_b.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    55
		"tool_lib1_lib/tools/rel/tool_lib1_b.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    56
		"tool_lib2_lib/tools/deb/tool_lib2_a.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    57
		"tool_lib2_lib/tools/deb/tool_lib2_a.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    58
		"tool_lib2_lib/tools/deb/tool_lib2_b.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    59
		"tool_lib2_lib/tools/deb/tool_lib2_b.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    60
		"tool_lib2_lib/tools/rel/tool_lib2_a.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    61
		"tool_lib2_lib/tools/rel/tool_lib2_a.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    62
		"tool_lib2_lib/tools/rel/tool_lib2_b.obj",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    63
		"tool_lib2_lib/tools/rel/tool_lib2_b.sbr",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    64
	])
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    65
	t.run("windows") # no MSVC compiler on Linux
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    66
	return t