sbsv2/raptor/test/smoke_suite/dll_armv6.py
author raptorbot <raptorbot@systemstesthead.symbian.intra>
Tue, 24 Nov 2009 16:59:34 +0000
branchwip
changeset 18 17b8877fc4fe
parent 3 e1eecf4d390d
child 25 2b76b04e296d
permissions -rw-r--r--
Only a few tests left to get going
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     1
#
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     3
# All rights reserved.
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     4
# This component and the accompanying materials are made available
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     6
# which accompanies this distribution, and is available
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     8
#
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
     9
# Initial Contributors:
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    10
# Nokia Corporation - initial contribution.
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    11
#
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    12
# Contributors:
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    13
#
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    14
# Description: 
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    15
#
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    16
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    17
from raptor_tests import AntiTargetSmokeTest
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    18
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    19
def run():
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    20
	t = AntiTargetSmokeTest()
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    21
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    22
	rootcommand = "sbs -b smoke_suite/test_resources/simple_dll/bld.inf"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    23
	targets = [
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    24
		"$(EPOCROOT)/epoc32/release/armv6/udeb/createstaticdll.dll.sym",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    25
		"$(EPOCROOT)/epoc32/release/armv6/urel/createstaticdll.dll.sym",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    26
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll.dso",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    27
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll{000a0000}.dso",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    28
		"$(EPOCROOT)/epoc32/release/armv6/udeb/createstaticdll.dll",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    29
		"$(EPOCROOT)/epoc32/release/armv6/urel/createstaticdll.dll"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    30
		]
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    31
	antitargets = [
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    32
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll.lib",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    33
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll{000a0000}.lib"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    34
		]
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    35
	buildtargets = [
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    36
		"createstaticdll_dll/armv6/udeb/CreateStaticDLL.o",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    37
		"createstaticdll_dll/armv6/urel/CreateStaticDLL.o",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    38
		"createstaticdll_dll/armv6/udeb/armv6_specific.o",
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    39
		"createstaticdll_dll/armv6/urel/armv6_specific.o"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    40
	]
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    41
	
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    42
	t.id = "0097a"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    43
	t.name = "dll_armv6_rvct"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    44
	t.command = rootcommand + " -c armv6"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    45
	t.targets = targets
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    46
	t.antitargets = antitargets
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    47
	t.addbuildtargets("smoke_suite/test_resources/simple_dll/bld.inf", buildtargets)
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    48
	t.run()
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    49
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    50
	t.id = "0097b"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    51
	t.name = "dll_armv6_clean"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    52
	t.command = rootcommand + " -c armv6 clean"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    53
	t.targets = []
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    54
	t.antitargets = []
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    55
	t.run()
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    56
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    57
	t.id = "0097c"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    58
	t.name = "dll_armv6_gcce"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    59
	t.command = rootcommand + " -c arm.v6.udeb.gcce4_3_2 -c arm.v6.urel.gcce4_3_2"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    60
	t.targets = targets
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    61
	t.antitargets = antitargets
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    62
	t.addbuildtargets("smoke_suite/test_resources/simple_dll/bld.inf", buildtargets)
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    63
	t.run()
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    64
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    65
	t.id = "97"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    66
	t.name = "dll_armv6"
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    67
	t.print_result()
17b8877fc4fe Only a few tests left to get going
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 3
diff changeset
    68
	return t