sbsv2/raptor/test/smoke_suite/featurevariants.py
author Richard Taylor <richard.i.taylor@nokia.com>
Thu, 08 Apr 2010 12:12:03 +0100
branchfix
changeset 458 79718b9711e8
parent 347 018461a64038
child 472 d1500715c073
permissions -rw-r--r--
fix for bug 2297 : traceback on unmatched END in a bld.inf
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",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   170
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   171
		"dummy_inv_dll/dummy_inv__resource_apps_sc.rpp",
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   172
		"dummy_inv_dll/dummy_inv__resource_apps_sc.rpp.d"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   173
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   174
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   175
	variantBuildTargetsDefaultTree = [
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   176
		"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   177
		"createstaticdll_variant1_dll/armv5/udeb/CreateStaticDLL_variant1.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   178
		"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1_udeb_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   179
		"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   180
		"createstaticdll_variant1_dll/armv5/udeb/createstaticdll_variant1{000a0000}.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   181
		"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   182
		"createstaticdll_variant1_dll/armv5/urel/CreateStaticDLL_variant1.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   183
		"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1_urel_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   184
		"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   185
		"createstaticdll_variant1_dll/armv5/urel/createstaticdll_variant1{000a0000}.dso",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   186
		
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   187
		"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   188
		"createstaticdll_variant2_dll/armv5/udeb/CreateStaticDLL_variant2.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   189
		"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2_udeb_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   190
		"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   191
		"createstaticdll_variant2_dll/armv5/udeb/createstaticdll_variant2{000a0000}.dso",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   192
		"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   193
		"createstaticdll_variant2_dll/armv5/urel/CreateStaticDLL_variant2.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   194
		"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2_urel_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   195
		"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.def",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   196
		"createstaticdll_variant2_dll/armv5/urel/createstaticdll_variant2{000a0000}.dso",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   197
		
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   198
		"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   199
		"createexe_variant3_exe/armv5/udeb/CreateEXE_variant3.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   200
		"createexe_variant3_exe/armv5/udeb/createexe_variant3_udeb_objects.via",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   201
		"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   202
		"createexe_variant3_exe/armv5/urel/CreateEXE_variant3.o.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   203
		"createexe_variant3_exe/armv5/urel/createexe_variant3_urel_objects.via"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   204
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   205
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   206
	variantBuildTargetsProductTrees = [		
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   207
		"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   208
		"createstaticdll_variant1_dll/armv5.one/udeb/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   209
		"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   210
		"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   211
		"createstaticdll_variant1_dll/armv5.one/udeb/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   212
		"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   213
		"createstaticdll_variant1_dll/armv5.one/urel/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   214
		"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   215
		"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   216
		"createstaticdll_variant1_dll/armv5.one/urel/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   217
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   218
		"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   219
		"createstaticdll_variant2_dll/armv5.one/udeb/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   220
		"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   221
		"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   222
		"createstaticdll_variant2_dll/armv5.one/udeb/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   223
		"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   224
		"createstaticdll_variant2_dll/armv5.one/urel/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   225
		"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   226
		"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   227
		"createstaticdll_variant2_dll/armv5.one/urel/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   228
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   229
		"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   230
		"createexe_variant3_exe/armv5.one/udeb/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   231
		"createexe_variant3_exe/armv5.one/udeb/createexe_variant3_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   232
		"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   233
		"createexe_variant3_exe/armv5.one/urel/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   234
		"createexe_variant3_exe/armv5.one/urel/createexe_variant3_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   235
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   236
		"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   237
		"createstaticdll_variant1_dll/armv5.two/udeb/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   238
		"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   239
		"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   240
		"createstaticdll_variant1_dll/armv5.two/udeb/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   241
		"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   242
		"createstaticdll_variant1_dll/armv5.two/urel/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   243
		"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   244
		"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   245
		"createstaticdll_variant1_dll/armv5.two/urel/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   246
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   247
		"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   248
		"createstaticdll_variant2_dll/armv5.two/udeb/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   249
		"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   250
		"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   251
		"createstaticdll_variant2_dll/armv5.two/udeb/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   252
		"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   253
		"createstaticdll_variant2_dll/armv5.two/urel/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   254
		"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   255
		"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   256
		"createstaticdll_variant2_dll/armv5.two/urel/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   257
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   258
		"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   259
		"createexe_variant3_exe/armv5.two/udeb/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   260
		"createexe_variant3_exe/armv5.two/udeb/createexe_variant3_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   261
		"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   262
		"createexe_variant3_exe/armv5.two/urel/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   263
		"createexe_variant3_exe/armv5.two/urel/createexe_variant3_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   264
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   265
		"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   266
		"createstaticdll_variant1_dll/armv5.three/udeb/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   267
		"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   268
		"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   269
		"createstaticdll_variant1_dll/armv5.three/udeb/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   270
		"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   271
		"createstaticdll_variant1_dll/armv5.three/urel/CreateStaticDLL_variant1.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   272
		"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   273
		"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   274
		"createstaticdll_variant1_dll/armv5.three/urel/createstaticdll_variant1{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   275
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   276
		"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   277
		"createstaticdll_variant2_dll/armv5.three/udeb/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   278
		"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   279
		"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   280
		"createstaticdll_variant2_dll/armv5.three/udeb/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   281
		"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   282
		"createstaticdll_variant2_dll/armv5.three/urel/CreateStaticDLL_variant2.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   283
		"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2_urel_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   284
		"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.def",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   285
		"createstaticdll_variant2_dll/armv5.three/urel/createstaticdll_variant2{000a0000}.dso",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   286
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   287
		"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   288
		"createexe_variant3_exe/armv5.three/udeb/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   289
		"createexe_variant3_exe/armv5.three/udeb/createexe_variant3_udeb_objects.via",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   290
		"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   291
		"createexe_variant3_exe/armv5.three/urel/CreateEXE_variant3.o.d",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   292
		"createexe_variant3_exe/armv5.three/urel/createexe_variant3_urel_objects.via"
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   293
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   294
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   295
	variantBuildTargetsGeneric = [
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   296
		"dummy_var1_dll/dummy_var1__resource_apps_sc.rpp",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   297
		"dummy_var1_dll/dummy_var1__resource_apps_sc.rpp.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   298
		"dummy_var2_dll/dummy_var2__resource_apps_sc.rpp",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   299
		"dummy_var2_dll/dummy_var2__resource_apps_sc.rpp.d",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   300
		"dummy_var3_exe/dummy_var3__resource_apps_sc.rpp",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   301
		"dummy_var3_exe/dummy_var3__resource_apps_sc.rpp.d"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   302
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   303
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   304
	sbscommand = "sbs -b smoke_suite/test_resources/bv/bld.inf -c armv5 " + \
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   305
				"-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
   306
				"--configpath=test/smoke_suite/test_resources/bv/config/variants"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   307
	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   308
	t.id = "56a"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   309
	t.description = """Build variant and invariant components.
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   310
		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
   311
		only variant components build for the armv5.* bv configs."""
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   312
	t.name = "featurevariant_build"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   313
	t.command = sbscommand
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   314
	t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsDefaultTree + variantTargetsProductTrees							
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   315
	t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf',
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   316
				invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsDefaultTree + variantBuildTargetsProductTrees	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   317
				)
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   318
	# Test that static libs are linked from the invariant place.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   319
	t.mustmatch = [
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   320
		"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   321
		"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib"
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   322
		]
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   323
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   324
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   325
	t.id = "56b"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   326
	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
   327
		With FEATUREVARIANTSAFE only invariant components build for the non-product armv5 config and
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   328
		only variant components build for the armv5.* bv configs.""" 
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   329
	t.name = "featurevariant_build_featurevariantsafe"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   330
	t.command = sbscommand + " --configpath=test/smoke_suite/test_resources/bv/config/properties"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   331
	t.targets = preBuiltTargets + invariantTargets + variantTargetsGeneric + variantTargetsProductTrees
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   332
	t.addbuildtargets('smoke_suite/test_resources/bv/bld.inf',
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   333
				invariantBuildTargets + variantBuildTargetsGeneric + variantBuildTargetsProductTrees	
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   334
				)
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   335
	t.antitargets = variantTargetsDefaultTree
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   336
	t.addbuildantitargets('smoke_suite/test_resources/bv/bld.inf',
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   337
				variantBuildTargetsDefaultTree
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   338
				)
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   339
	# Test that static libs are linked from the invariant place.
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   340
	t.mustmatch = [
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   341
		"armlink.*epoc32/release/armv5/urel/bv_static_lib.lib",
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   342
		"armlink.*epoc32/release/armv5/udeb/bv_static_lib.lib"
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   343
		]
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   344
	t.run()
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   345
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   346
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   347
	# tests for the createvmap script
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   348
	createvmap = "python $(SBS_HOME)/bin/createvmap.py"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   349
	vmapfile = "$(EPOCROOT)/epoc32/build/test.vmap"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   350
	vmap = " -o " + vmapfile
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   351
	
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   352
	if 'SBS_BVCPP' in os.environ:
20
d1f6767eec1a Tests working with separate test-epocroot.
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 5
diff changeset
   353
		bvcpp = " -c " + os.environ['SBS_BVCPP'].replace('\\','/')
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   354
	else:
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   355
		bvcpp = " -c $(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp"
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   356
		if t.onWindows:
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   357
			bvcpp += ".exe"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   358
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   359
	bvdata = "$(SBS_HOME)/test/smoke_suite/test_resources/bv"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   360
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   361
	preinc = " -p " + bvdata + "/var1/var1.h"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   362
	listA = " -f " + bvdata + "/listA.txt"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   363
	listB = " -f " + bvdata + "/listB.txt"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   364
	listC = " -f " + bvdata + "/listC.txt"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   365
	srcWith = " -s " + bvdata + "/with_macros.cpp"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   366
	srcWithout = " -s " + bvdata + "/without_macros.cpp"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   367
	badSrc = " -s " + bvdata + "/with_errors.cpp"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   368
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   369
	t.id = "56c"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   370
	t.name = "createvmap exits with an error"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   371
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   372
	t.command = createvmap
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   373
	t.returncode = 1
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   374
	t.targets = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   375
	t.mustmatch = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   376
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   377
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   378
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   379
	t.id = "56d"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   380
	t.name = "createvmap shows cpp errors"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   381
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   382
	t.command = createvmap + vmap + bvcpp + preinc + listA + badSrc
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   383
	t.returncode = 1
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   384
	t.targets = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   385
	t.mustmatch = ["#error this code is broken"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   386
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   387
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   388
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   389
	t.id = "56e"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   390
	t.name = "createvmap errors on missing feature list"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   391
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   392
	t.command = createvmap + vmap + bvcpp + preinc + listC + srcWith
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   393
	t.returncode = 1
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   394
	t.targets = []
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   395
	t.mustmatch = ["The feature list '.*listC.txt' does not exist"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   396
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   397
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   398
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   399
	t.id = "56f"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   400
	t.name = "createvmap warns on featureless code"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   401
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   402
	t.command = createvmap + vmap + bvcpp + preinc + listA + srcWithout
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   403
	t.returncode = 0
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   404
	t.targets = [vmapfile]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   405
	t.mustmatch = ["warning: No feature macros were found in the source"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   406
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   407
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   408
	
347
018461a64038 Support for FEATUREVARIANTSAFE.
Jon Chatten
parents: 20
diff changeset
   409
	t.id = "56g"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   410
	t.name = "createvmap creates the right vmap file"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   411
	t.usebash = True
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   412
	t.command = createvmap + vmap + bvcpp + preinc + listA + listB + srcWith + srcWithout + " && cat " + vmapfile
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   413
	t.returncode = 0
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   414
	t.targets = [vmapfile]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   415
	t.mustmatch = ["A_1=defined", "B_1000=undefined"]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   416
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   417
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   418
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   419
	# print the overall result
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   420
	t.id = "56"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   421
	t.name = "featurevariants"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   422
	t.print_result()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   423
	return t