sbsv2/raptor/test/smoke_suite/featurevariants.py
author Daniel Jacobs <daniel.jacobs@nokia.com>
Mon, 17 May 2010 11:37:12 +0100
branchfix
changeset 557 be0305eb3dc3
parent 538 71918f4840ed
permissions -rw-r--r--
Merge from default version 2.14.0.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     1
#
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
     2
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
3
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
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    17
from raptor_tests import AntiTargetSmokeTest, ReplaceEnvs
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    18
import os
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    19
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    20
def run():
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    21
	t = AntiTargetSmokeTest()
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    22
	t.usebash = True
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    23
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    24
	preBuiltTargets = [
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    25
		"$(EPOCROOT)/epoc32/release/armv5/udeb/dummy.lib",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    26
		"$(EPOCROOT)/epoc32/release/armv5/urel/dummy.lib",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    27
		"$(EPOCROOT)/epoc32/release/armv5/udeb/debfake.lib",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    28
		"$(EPOCROOT)/epoc32/release/armv5/urel/relfake.lib"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    29
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    30
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    31
	invariantTargets = [
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    32
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    33
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.map",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    34
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_invariant.dll.sym",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    35
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    36
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.map",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    37
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_invariant.dll.sym",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    38
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_invariant.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    39
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_invariant{000a0000}.dso"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    40
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    41
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    42
	variantTargetsDefaultTree = [
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    43
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant1.dll",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    44
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant1.dll.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    45
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant1.dll.sym",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    46
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant2.dll",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    47
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant2.dll.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    48
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll_variant2.dll.sym",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    49
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    50
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    51
		"$(EPOCROOT)/epoc32/release/armv5/udeb/createexe_variant3.exe.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    52
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    53
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant1.dll",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    54
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant1.dll.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    55
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant1.dll.sym",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    56
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant2.dll",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    57
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant2.dll.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    58
		"$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll_variant2.dll.sym",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    59
		"$(EPOCROOT)/epoc32/release/armv5/urel/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    60
		"$(EPOCROOT)/epoc32/release/armv5/urel/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    61
		"$(EPOCROOT)/epoc32/release/armv5/urel/createexe_variant3.exe.sym"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    62
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    63
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    64
	variantTargetsProductTrees = [		
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    65
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    66
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    67
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    68
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    69
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    70
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    71
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    72
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createstaticdll_variant2.dll.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    73
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    74
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    75
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    76
		"$(EPOCROOT)/epoc32/release/armv5.one/udeb/createexe_variant3.exe.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    77
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    78
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    79
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    80
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    81
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant1.dll.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    82
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    83
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    84
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    85
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createstaticdll_variant2.dll.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    86
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    87
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    88
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.sym",		
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    89
		"$(EPOCROOT)/epoc32/release/armv5.one/urel/createexe_variant3.exe.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    90
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    91
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    92
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    93
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    94
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant1.dll.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    95
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    96
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    97
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    98
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createstaticdll_variant2.dll.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
    99
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   100
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   101
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   102
		"$(EPOCROOT)/epoc32/release/armv5.two/udeb/createexe_variant3.exe.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   103
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   104
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   105
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   106
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   107
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant1.dll.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   108
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   109
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   110
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   111
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createstaticdll_variant2.dll.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   112
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   113
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   114
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   115
		"$(EPOCROOT)/epoc32/release/armv5.two/urel/createexe_variant3.exe.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   116
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   117
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   118
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   119
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   120
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant1.dll.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   121
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   122
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   123
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   124
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createstaticdll_variant2.dll.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   125
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   126
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   127
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   128
		"$(EPOCROOT)/epoc32/release/armv5.three/udeb/createexe_variant3.exe.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   129
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   130
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   131
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   132
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   133
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant1.dll.vmap",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   134
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   135
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.map",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   136
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   137
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createstaticdll_variant2.dll.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   138
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   139
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.map",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   140
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.sym",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   141
		"$(EPOCROOT)/epoc32/release/armv5.three/urel/createexe_variant3.exe.vmap",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   142
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   143
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   144
	variantTargetsGeneric = [
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   145
		"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var1.rsc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   146
		"$(EPOCROOT)/epoc32/include/dummy_var1.rsg",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   147
		"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var2.rsc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   148
		"$(EPOCROOT)/epoc32/include/dummy_var2.rsg",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   149
		"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_var3.rsc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   150
		"$(EPOCROOT)/epoc32/include/dummy_var3.rsg",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   151
		"$(EPOCROOT)/epoc32/data/z/resource/apps/dummy_inv.rsc",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   152
		"$(EPOCROOT)/epoc32/include/dummy_inv.rsg",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   153
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   154
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant1{000a0000}.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   155
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant2.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   156
		"$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll_variant2{000a0000}.dso"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   157
		]
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   158
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   159
	invariantBuildTargets = [
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   160
		"createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   161
		"createstaticdll_invariant_dll/armv5/udeb/CreateStaticDLL_invariant.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   162
		"createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   163
		"createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   164
		"createstaticdll_invariant_dll/armv5/udeb/createstaticdll_invariant{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   165
		"createstaticdll_invariant_dll/armv5/urel/CreateStaticDLL_invariant.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   166
		"createstaticdll_invariant_dll/armv5/urel/CreateStaticDLL_invariant.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   167
		"createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   168
		"createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   169
		"createstaticdll_invariant_dll/armv5/urel/createstaticdll_invariant{000a0000}.dso",
538
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   170
		"dummy_inv_dll/dummy_inv_dummy_sc.rpp",
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   171
		"dummy_inv_dll/dummy_inv_dummy_sc.rpp.d"
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   172
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   173
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   174
	variantBuildTargetsDefaultTree = [
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   175
		"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   176
		"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   177
		"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1_udeb_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   178
		"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   179
		"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   180
		"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   181
		"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   182
		"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1_urel_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   183
		"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   184
		"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.dso",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   185
		
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   186
		"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   187
		"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   188
		"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2_udeb_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   189
		"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   190
		"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   191
		"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   192
		"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   193
		"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2_urel_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   194
		"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   195
		"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.dso",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   196
		
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   197
		"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   198
		"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   199
		"createexe_variant3_exe/armv5/udeb/createexe_variant3_udeb_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   200
		"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   201
		"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   202
		"createexe_variant3_exe/armv5/urel/createexe_variant3_urel_objects.via"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   203
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   204
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   205
	variantBuildTargetsProductTrees = [		
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   206
		"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   207
		"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   208
		"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   209
		"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   210
		"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   211
		"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   212
		"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   213
		"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   214
		"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   215
		"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   216
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   217
		"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   218
		"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   219
		"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   220
		"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   221
		"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   222
		"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   223
		"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   224
		"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   225
		"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   226
		"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   227
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   228
		"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   229
		"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   230
		"createexe_variant3_exe/armv5.one/udeb/createexe_variant3_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   231
		"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   232
		"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   233
		"createexe_variant3_exe/armv5.one/urel/createexe_variant3_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   234
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   235
		"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   236
		"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   237
		"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   238
		"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   239
		"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   240
		"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   241
		"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   242
		"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   243
		"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   244
		"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   245
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   246
		"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   247
		"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   248
		"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   249
		"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   250
		"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   251
		"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   252
		"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   253
		"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   254
		"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   255
		"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   256
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   257
		"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   258
		"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   259
		"createexe_variant3_exe/armv5.two/udeb/createexe_variant3_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   260
		"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   261
		"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   262
		"createexe_variant3_exe/armv5.two/urel/createexe_variant3_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   263
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   264
		"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   265
		"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   266
		"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   267
		"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   268
		"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   269
		"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   270
		"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   271
		"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   272
		"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   273
		"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   274
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   275
		"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   276
		"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   277
		"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   278
		"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   279
		"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   280
		"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   281
		"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   282
		"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   283
		"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   284
		"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   285
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   286
		"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   287
		"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   288
		"createexe_variant3_exe/armv5.three/udeb/createexe_variant3_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   289
		"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   290
		"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   291
		"createexe_variant3_exe/armv5.three/urel/createexe_variant3_urel_objects.via"
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   292
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   293
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   294
	variantBuildTargetsGeneric = [
538
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   295
		"dummy_var1_dll/dummy_var1_dummy_sc.rpp",
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   296
		"dummy_var1_dll/dummy_var1_dummy_sc.rpp.d",
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   297
		"dummy_var2_dll/dummy_var2_dummy_sc.rpp",
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   298
		"dummy_var2_dll/dummy_var2_dummy_sc.rpp.d",
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   299
		"dummy_var3_exe/dummy_var3_dummy_sc.rpp",
71918f4840ed fixups: tests for resource improvements
timothy.murphy@nokia.com
parents: 472
diff changeset
   300
		"dummy_var3_exe/dummy_var3_dummy_sc.rpp.d"
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   301
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   302
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   303
	sbscommand = "sbs -b smoke_suite/test_resources/bv/bld.inf -c armv5 " + \
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   304
				"-c armv5.test_bv_1 -c armv5.test_bv_2 -c armv5.test_bv_3 -f- " + \
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   305
				"--configpath=test/smoke_suite/test_resources/bv/config/variants"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   306
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   307
	t.id = "56a"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   308
	t.description = """Build variant and invariant components.
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   309
		In this default mode of operation, all components build for the non-product armv5 config whereas
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   310
		only variant components build for the armv5.* bv configs."""
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   311
	t.name = "featurevariant_build"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   312
	t.command = sbscommand
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   313
	t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsDefaultTree + variantTargetsProductTrees							
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   314
	t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf',
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   315
				invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsDefaultTree + variantBuildTargetsProductTrees	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   316
				)
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   317
	# Test that static libs are linked from the invariant place.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   318
	t.mustmatch = [
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   319
		"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   320
		"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib"
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   321
		]
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   322
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   323
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   324
	t.id = "56b"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   325
	t.description = """Build variant and invariant components using an os_properties.xml that sets FEATUREVARIANTSAFE=1.
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   326
		With FEATUREVARIANTSAFE only invariant components build for the non-product armv5 config and
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   327
		only variant components build for the armv5.* bv configs.""" 
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   328
	t.name = "featurevariant_build_featurevariantsafe"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   329
	t.command = sbscommand + " --configpath=test/smoke_suite/test_resources/bv/config/properties"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   330
	t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsProductTrees
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   331
	t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf',
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   332
				invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsProductTrees	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   333
				)
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   334
	t.antitargets = variantTargetsDefaultTree
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   335
	t.addbuildantitargets('smoke_suite/test_resources/bv/bld.inf',
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   336
				variantBuildTargetsDefaultTree
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   337
				)
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   338
	# Test that static libs are linked from the invariant place.
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   339
	t.mustmatch = [
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   340
		"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   341
		"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   342
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   343
	t.run()
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   344
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   345
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   346
	# tests for the createvmap script
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   347
	createvmap = "python $(SBS_HOME)/bin/createvmap.py"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   348
	vmapfile = "$(EPOCROOT)/epoc32/build/test.vmap"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   349
	vmap = " -o " + vmapfile
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   350
	
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   351
	if 'SBS_BVCPP' in os.environ:
20
d1f6767eec1a Tests working with separate test-epocroot.
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 5
diff changeset
   352
		bvcpp = " -c " + os.environ['SBS_BVCPP'].replace('\\','/')
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   353
	else:
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   354
		bvcpp = " -c $(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp"
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   355
		if t.onWindows:
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   356
			bvcpp += ".exe"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   357
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   358
	bvdata = "$(SBS_HOME)/test/smoke_suite/test_resources/bv"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   359
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   360
	preinc = " -p " + bvdata + "/var1/var1.h"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   361
	listA = " -f " + bvdata + "/listA.txt"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   362
	listB = " -f " + bvdata + "/listB.txt"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   363
	listC = " -f " + bvdata + "/listC.txt"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   364
	srcWith = " -s " + bvdata + "/with_macros.cpp"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   365
	srcWithout = " -s " + bvdata + "/without_macros.cpp"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   366
	badSrc = " -s " + bvdata + "/with_errors.cpp"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   367
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   368
	t.id = "56c"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   369
	t.name = "createvmap exits with an error"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   370
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   371
	t.command = createvmap
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   372
	t.returncode = 1
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   373
	t.targets = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   374
	t.mustmatch = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   375
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   376
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   377
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   378
	t.id = "56d"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   379
	t.name = "createvmap shows cpp errors"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   380
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   381
	t.command = createvmap + vmap + bvcpp + preinc + listA + badSrc
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   382
	t.returncode = 1
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   383
	t.targets = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   384
	t.mustmatch = ["#error this code is broken"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   385
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   386
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   387
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   388
	t.id = "56e"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   389
	t.name = "createvmap errors on missing feature list"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   390
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   391
	t.command = createvmap + vmap + bvcpp + preinc + listC + srcWith
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   392
	t.returncode = 1
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   393
	t.targets = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   394
	t.mustmatch = ["The feature list '.*listC.txt' does not exist"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   395
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   396
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   397
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   398
	t.id = "56f"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   399
	t.name = "createvmap warns on featureless code"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   400
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   401
	t.command = createvmap + vmap + bvcpp + preinc + listA + srcWithout
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   402
	t.returncode = 0
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   403
	t.targets = [vmapfile]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   404
	t.mustmatch = ["warning: No feature macros were found in the source"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   405
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   406
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   407
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   408
	t.id = "56g"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   409
	t.name = "createvmap creates the right vmap file"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   410
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   411
	t.command = createvmap + vmap + bvcpp + preinc + listA + listB + srcWith + srcWithout + " && cat " + vmapfile
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   412
	t.returncode = 0
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   413
	t.targets = [vmapfile]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   414
	t.mustmatch = ["A_1=defined", "B_1000=undefined"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   415
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   416
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   417
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   418
	# print the overall result
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   419
	t.id = "56"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   420
	t.name = "featurevariants"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   421
	t.print_result()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   422
	return t