sbsv2/raptor/test/smoke_suite/tools2.py
author andy simpson <andrews@symbian.org>
Fri, 30 Jul 2010 15:14:33 +0100
changeset 622 c26070468a42
parent 591 22486c9c7b15
child 641 8dd670a9f34f
permissions -rw-r--r--
Add export for s60ibymacros.pm (re-applies missing part of fix for Bug 2901
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 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 = "51"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    22
	t.name = "tools2"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    23
	t.command = "sbs -b smoke_suite/test_resources/tools2/bld.inf -c tools2"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    24
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    25
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    26
	t.targets = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    27
		"$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib1.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    28
		"$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib2.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    29
		"$(EPOCROOT)/epoc32/release/tools2/deb/tool_exe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    30
		"$(EPOCROOT)/epoc32/release/tools2/rel/libtool_lib1.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    31
		"$(EPOCROOT)/epoc32/release/tools2/rel/libtool_lib2.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    32
		"$(EPOCROOT)/epoc32/release/tools2/rel/tool_exe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    33
		"$(EPOCROOT)/epoc32/tools/tool_exe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    34
	]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    35
	t.addbuildtargets("smoke_suite/test_resources/tools2/bld.inf", [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    36
		"libtool_lib1_a/libtool_lib1_lib/tools2/rel/tool_lib1_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    37
		"libtool_lib1_a/libtool_lib1_lib/tools2/rel/tool_lib1_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    38
		"libtool_lib2_a/libtool_lib2_lib/tools2/rel/tool_lib2_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    39
		"libtool_lib2_a/libtool_lib2_lib/tools2/rel/tool_lib2_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    40
		"libtool_lib1_a/libtool_lib1_lib/tools2/deb/tool_lib1_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    41
		"libtool_lib1_a/libtool_lib1_lib/tools2/deb/tool_lib1_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    42
		"libtool_lib2_a/libtool_lib2_lib/tools2/deb/tool_lib2_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    43
		"libtool_lib2_a/libtool_lib2_lib/tools2/deb/tool_lib2_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    44
		"tool_exe_exe/tool_exe_exe/tools2/rel/tool_exe_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    45
		"tool_exe_exe/tool_exe_exe/tools2/rel/tool_exe_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    46
		"tool_exe_exe/tool_exe_exe/tools2/deb/tool_exe_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    47
		"tool_exe_exe/tool_exe_exe/tools2/deb/tool_exe_a.o"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    48
		])
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    49
			
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    50
	t.run("windows") # tools2 output is platform dependent
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    51
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    52
	if t.result == SmokeTest.SKIP:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    53
		t.targets = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    54
			"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/deb/tool_exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    55
			"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/deb/libtool_lib1.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    56
			"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/deb/libtool_lib2.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    57
			"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/rel/tool_exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    58
			"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/rel/libtool_lib1.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    59
			"$(EPOCROOT)/epoc32/release/tools2/$(HOSTPLATFORM_DIR)/rel/libtool_lib2.a",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    60
			"$(EPOCROOT)/epoc32/tools/tool_exe"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    61
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    62
		t.addbuildtargets("smoke_suite/test_resources/tools2/bld.inf", [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    63
			"libtool_lib1_a/libtool_lib1_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib1_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    64
			"libtool_lib1_a/libtool_lib1_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib1_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    65
			"libtool_lib2_a/libtool_lib2_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib2_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    66
			"libtool_lib2_a/libtool_lib2_lib/tools2/rel/$(HOSTPLATFORM_DIR)/tool_lib2_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    67
			"libtool_lib1_a/libtool_lib1_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib1_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    68
			"libtool_lib1_a/libtool_lib1_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib1_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    69
			"libtool_lib2_a/libtool_lib2_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib2_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    70
			"libtool_lib2_a/libtool_lib2_lib/tools2/deb/$(HOSTPLATFORM_DIR)/tool_lib2_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    71
			"tool_exe_exe/tool_exe_exe/tools2/rel/$(HOSTPLATFORM_DIR)/tool_exe_a.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    72
			"tool_exe_exe/tool_exe_exe/tools2/rel/$(HOSTPLATFORM_DIR)/tool_exe_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    73
			"tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_b.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    74
			"tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_a.o"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    75
			])
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    76
		t.run("linux") # tools2 output is platform dependent
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    77
		
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    78
	return t