sbsv2/raptor/test/smoke_suite/dll_armv7.py
author timothy.murphy@nokia.com
Sun, 29 Nov 2009 16:09:20 +0000
branchwip
changeset 22 072f869b0bc5
parent 3 e1eecf4d390d
child 25 2b76b04e296d
permissions -rw-r--r--
Catch up to wip branch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     1
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     3
# All rights reserved.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     4
# This component and the accompanying materials are made available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     6
# which accompanies this distribution, and is available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     8
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     9
# Initial Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    11
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    12
# Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    13
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    14
# Description: 
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    15
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    16
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    17
from raptor_tests import SmokeTest
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    18
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    19
def run():
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    20
	t = SmokeTest()
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    21
	
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    22
	rootcommand = "sbs -b smoke_suite/test_resources/simple_dll/bld.inf"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    23
	targets = [
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    24
		"$(EPOCROOT)/epoc32/release/armv7/udeb/createstaticdll.dll.sym",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    25
		"$(EPOCROOT)/epoc32/release/armv7/urel/createstaticdll.dll.sym",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    26
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    27
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    28
		"$(EPOCROOT)/epoc32/release/armv7/udeb/createstaticdll.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    29
		"$(EPOCROOT)/epoc32/release/armv7/urel/createstaticdll.dll"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    30
		]
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    31
	buildtargets = [
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    32
		"createstaticdll_dll/armv7/udeb/CreateStaticDLL.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    33
		"createstaticdll_dll/armv7/urel/CreateStaticDLL.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    34
		"createstaticdll_dll/armv7/udeb/armv7_specific.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    35
		"createstaticdll_dll/armv7/urel/armv7_specific.o"		
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    36
	]
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    37
	
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    38
	t.id = "0011a"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    39
	t.name = "dll_armv7_rvct"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    40
	t.command = rootcommand + " -c armv7"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    41
	t.targets = targets
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    42
	t.addbuildtargets("smoke_suite/test_resources/simple_dll/bld.inf", buildtargets)
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    43
	t.run()
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    44
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    45
	t.id = "0011b"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    46
	t.name = "dll_armv7_clean"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    47
	t.command = rootcommand + " -c armv7 clean"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    48
	t.targets = []
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    49
	t.run()
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    50
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    51
	t.id = "0011c"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    52
	t.name = "dll_armv7_gcce"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    53
	t.command = rootcommand + " -c arm.v7.udeb.gcce4_3_2 -c arm.v7.urel.gcce4_3_2"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    54
	t.targets = targets
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    55
	t.addbuildtargets("smoke_suite/test_resources/simple_dll/bld.inf", buildtargets)
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    56
	t.run()
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    57
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    58
	t.id = "11"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    59
	t.name = "dll_armv7"
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 3
diff changeset
    60
	t.print_result()
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    61
	return t