sbsv2/raptor/test/smoke_suite/openenvironment.py
author Zheng Shen <zheng.shen@nokia.com>
Tue, 26 Oct 2010 11:12:31 +0800
changeset 654 7c11c3d8d025
parent 591 22486c9c7b15
permissions -rw-r--r--
romtools 13.2.0.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     1
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     3
# All rights reserved.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     4
# This component and the accompanying materials are made available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     6
# which accompanies this distribution, and is available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     8
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     9
# Initial Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    11
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    12
# Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    13
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    14
# Description: 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    15
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    16
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    17
from raptor_tests import SmokeTest, getsymbianversion
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    19
def run():
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    20
	t = SmokeTest()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    21
	t.id = "39"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    22
	t.name = "openenvironment"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    23
	t.description = """Test STDEXE, STDLIB and STDDLL creation; Test open environment project linking against a symbian environment
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    24
		library; Test symbian environment project linking against an open environment library"""
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    25
	t.usebash = True
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    26
	t.command = "sbs -k -b smoke_suite/test_resources/oe/group/bld.inf -c armv5 -c winscw " + \
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    27
		"-m ${SBSMAKEFILE} -f ${SBSLOGFILE}; grep -E \"(armlink|checklib|mwldsym2)\" ${SBSLOGFILE}"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    28
	t.targets = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    29
		"$(EPOCROOT)/epoc32/release/armv5/urel/t_oedll.dll.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    30
		"$(EPOCROOT)/epoc32/release/armv5/urel/symbian_test.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    31
		"$(EPOCROOT)/epoc32/release/armv5/urel/t_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    32
		"$(EPOCROOT)/epoc32/release/armv5/urel/t_oelib.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    33
		"$(EPOCROOT)/epoc32/release/armv5/urel/t_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    34
		"$(EPOCROOT)/epoc32/release/armv5/urel/t_oeexe.exe.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    35
		"$(EPOCROOT)/epoc32/release/armv5/urel/t_oedll.dll.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    36
		"$(EPOCROOT)/epoc32/release/armv5/udeb/t_oedll.dll.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    37
		"$(EPOCROOT)/epoc32/release/armv5/udeb/symbian_test.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    38
		"$(EPOCROOT)/epoc32/release/armv5/udeb/t_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    39
		"$(EPOCROOT)/epoc32/release/armv5/udeb/t_oelib.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    40
		"$(EPOCROOT)/epoc32/release/armv5/udeb/t_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    41
		"$(EPOCROOT)/epoc32/release/armv5/udeb/t_oeexe.exe.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    42
		"$(EPOCROOT)/epoc32/release/armv5/udeb/t_oedll.dll.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    43
		"$(EPOCROOT)/epoc32/release/armv5/lib/t_oedll.dso",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    44
		"$(EPOCROOT)/epoc32/release/armv5/lib/t_oedll{000a0000}.dso",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    45
		"$(EPOCROOT)/epoc32/release/winscw/urel/symbian_test.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    46
		"$(EPOCROOT)/epoc32/release/winscw/urel/t_oedll.dll",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    47
		"$(EPOCROOT)/epoc32/release/winscw/urel/t_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    48
		"$(EPOCROOT)/epoc32/release/winscw/urel/t_oelib.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    49
		"$(EPOCROOT)/epoc32/release/winscw/urel/t_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    50
		"$(EPOCROOT)/epoc32/release/winscw/urel/t_oedll.dll.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    51
		"$(EPOCROOT)/epoc32/release/winscw/udeb/symbian_test.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    52
		"$(EPOCROOT)/epoc32/release/winscw/udeb/t_oedll.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    53
		"$(EPOCROOT)/epoc32/release/winscw/udeb/t_oedll.dll",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    54
		"$(EPOCROOT)/epoc32/release/winscw/udeb/t_oelib.lib"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    55
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    56
	t.addbuildtargets('smoke_suite/test_resources/oe/group/bld.inf', [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    57
		"t_oedll_dll/armv5/urel/t_oedll{000a0000}.dso",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    58
		"t_oedll_dll/armv5/urel/t_oedll_urel_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    59
		"t_oedll_dll/armv5/urel/t_oedll.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    60
		"t_oedll_dll/armv5/urel/t_oedll.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    61
                # either prep file can exist - luck determines which
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    62
                 ['t_oedll_dll/armv5/urel/t_oedll.prep',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    63
                  't_oedll_dll/armv5/udeb/t_oedll.prep'],
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    64
		"t_oedll_dll/armv5/urel/t_oedll{000a0000}.def",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    65
		"t_oedll_dll/armv5/udeb/t_oedll{000a0000}.dso",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    66
		"t_oedll_dll/armv5/udeb/t_oedll_udeb_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    67
		"t_oedll_dll/armv5/udeb/t_oedll.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    68
		"t_oedll_dll/armv5/udeb/t_oedll.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    69
		"t_oedll_dll/armv5/udeb/t_oedll{000a0000}.def",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    70
		"symbian_test_lib/armv5/urel/symbian_test_urel_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    71
		"symbian_test_lib/armv5/urel/symbian_lib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    72
		"symbian_test_lib/armv5/urel/symbian_lib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    73
		"symbian_test_lib/armv5/udeb/symbian_test_udeb_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    74
		"symbian_test_lib/armv5/udeb/symbian_lib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    75
		"symbian_test_lib/armv5/udeb/symbian_lib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    76
		"wrong_newlib_test_oeexe_exe/armv5/urel/wrong_newlib_test_oeexe_urel_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    77
		"wrong_newlib_test_oeexe_exe/armv5/urel/t_oeexe.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    78
		"wrong_newlib_test_oeexe_exe/armv5/urel/t_oeexe.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    79
		"wrong_newlib_test_oeexe_exe/armv5/udeb/t_oeexe.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    80
		"wrong_newlib_test_oeexe_exe/armv5/udeb/wrong_newlib_test_oeexe_udeb_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    81
		"wrong_newlib_test_oeexe_exe/armv5/udeb/t_oeexe.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    82
		"wrong_newlib_seexe_exe/armv5/urel/wrong_newlib_seexe_urel_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    83
		"wrong_newlib_seexe_exe/armv5/urel/wrong_newlib_symbian.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    84
		"wrong_newlib_seexe_exe/armv5/urel/wrong_newlib_symbian.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    85
		"wrong_newlib_seexe_exe/armv5/udeb/wrong_newlib_seexe_udeb_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    86
		"wrong_newlib_seexe_exe/armv5/udeb/wrong_newlib_symbian.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    87
		"wrong_newlib_seexe_exe/armv5/udeb/wrong_newlib_symbian.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    88
		"t_oeexe_exe/armv5/urel/t_oeexe_urel_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    89
		"t_oeexe_exe/armv5/urel/t_oeexe.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    90
		"t_oeexe_exe/armv5/urel/t_oeexe.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    91
		"t_oeexe_exe/armv5/udeb/t_oeexe.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    92
		"t_oeexe_exe/armv5/udeb/t_oeexe.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    93
		"t_oeexe_exe/armv5/udeb/t_oeexe_udeb_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    94
		"t_oelib_lib/armv5/urel/t_oelib_urel_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    95
		"t_oelib_lib/armv5/urel/t_oelib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    96
		"t_oelib_lib/armv5/urel/t_oelib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    97
		"t_oelib_lib/armv5/udeb/t_oelib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    98
		"t_oelib_lib/armv5/udeb/t_oelib_udeb_objects.via",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    99
		"t_oelib_lib/armv5/udeb/t_oelib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   100
		"t_oedll_dll/winscw/urel/t_oedll.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   101
		"t_oedll_dll/winscw/urel/t_oedll.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   102
		"t_oedll_dll/winscw/urel/t_oedll_SYM_.cpp",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   103
		"t_oedll_dll/winscw/urel/t_oedll.dll",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   104
		"t_oedll_dll/winscw/urel/t_oedll_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   105
		"t_oedll_dll/winscw/urel/t_oedll_SYM_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   106
		"t_oedll_dll/winscw/urel/t_oedll.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   107
		"t_oedll_dll/winscw/urel/t_oedll_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   108
		"t_oedll_dll/winscw/urel/t_oedll.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   109
		"t_oedll_dll/winscw/urel/t_oedll_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   110
		"t_oedll_dll/winscw/urel/t_oedll.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   111
		"t_oedll_dll/winscw/urel/t_oedll.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   112
		"t_oedll_dll/winscw/urel/t_oedll_SYM_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   113
		"t_oedll_dll/winscw/urel/t_oedll_SYM_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   114
                # The prep.def file can be in urel or udeb
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   115
                ['t_oedll_dll/winscw/urel/t_oedll.prep.def',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   116
                 't_oedll_dll/winscw/udeb/t_oedll.prep.def'],
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   117
		"t_oedll_dll/winscw/urel/t_oedll.def",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   118
		"t_oedll_dll/winscw/urel/t_oedll.inf",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   119
		"t_oedll_dll/winscw/udeb/t_oedll.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   120
		"t_oedll_dll/winscw/udeb/t_oedll.lib",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   121
		"t_oedll_dll/winscw/udeb/t_oedll_SYM_.cpp",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   122
		"t_oedll_dll/winscw/udeb/t_oedll.dll",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   123
		"t_oedll_dll/winscw/udeb/t_oedll_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   124
		"t_oedll_dll/winscw/udeb/t_oedll_SYM_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   125
		"t_oedll_dll/winscw/udeb/t_oedll.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   126
		"t_oedll_dll/winscw/udeb/t_oedll_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   127
		"t_oedll_dll/winscw/udeb/t_oedll.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   128
		"t_oedll_dll/winscw/udeb/t_oedll_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   129
		"t_oedll_dll/winscw/udeb/t_oedll.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   130
		"t_oedll_dll/winscw/udeb/t_oedll.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   131
		"t_oedll_dll/winscw/udeb/t_oedll_SYM_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   132
		"t_oedll_dll/winscw/udeb/t_oedll_SYM_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   133
		"t_oedll_dll/winscw/udeb/t_oedll.def",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   134
		"t_oedll_dll/winscw/udeb/t_oedll.inf",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   135
		"symbian_test_lib/winscw/urel/symbian_lib.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   136
		"symbian_test_lib/winscw/urel/symbian_lib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   137
		"symbian_test_lib/winscw/urel/symbian_lib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   138
		"symbian_test_lib/winscw/udeb/symbian_lib.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   139
		"symbian_test_lib/winscw/udeb/symbian_lib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   140
		"symbian_test_lib/winscw/udeb/symbian_lib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   141
		"wrong_newlib_test_oeexe_exe/winscw/urel/wrong_newlib_test_oeexe_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   142
		"wrong_newlib_test_oeexe_exe/winscw/urel/wrong_newlib_test_oeexe_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   143
		"wrong_newlib_test_oeexe_exe/winscw/urel/t_oeexe_wins.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   144
		"wrong_newlib_test_oeexe_exe/winscw/urel/t_oeexe_wins.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   145
		"wrong_newlib_test_oeexe_exe/winscw/urel/wrong_newlib_test_oeexe.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   146
		"wrong_newlib_test_oeexe_exe/winscw/urel/wrong_newlib_test_oeexe_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   147
		"wrong_newlib_test_oeexe_exe/winscw/urel/t_oeexe_wins.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   148
		"wrong_newlib_test_oeexe_exe/winscw/udeb/wrong_newlib_test_oeexe_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   149
		"wrong_newlib_test_oeexe_exe/winscw/udeb/wrong_newlib_test_oeexe_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   150
		"wrong_newlib_test_oeexe_exe/winscw/udeb/t_oeexe_wins.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   151
		"wrong_newlib_test_oeexe_exe/winscw/udeb/t_oeexe_wins.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   152
		"wrong_newlib_test_oeexe_exe/winscw/udeb/wrong_newlib_test_oeexe.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   153
		"wrong_newlib_test_oeexe_exe/winscw/udeb/wrong_newlib_test_oeexe_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   154
		"wrong_newlib_test_oeexe_exe/winscw/udeb/t_oeexe_wins.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   155
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_seexe_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   156
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_seexe_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   157
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_symbian.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   158
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_symbian.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   159
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_symbian.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   160
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_seexe.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   161
		"wrong_newlib_seexe_exe/winscw/urel/wrong_newlib_seexe_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   162
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_seexe_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   163
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_seexe_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   164
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_symbian.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   165
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_symbian.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   166
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_symbian.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   167
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_seexe.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   168
		"wrong_newlib_seexe_exe/winscw/udeb/wrong_newlib_seexe_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   169
		"t_oeexe_exe/winscw/urel/t_oeexe_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   170
		"t_oeexe_exe/winscw/urel/t_oeexe_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   171
		"t_oeexe_exe/winscw/urel/t_oeexe_wins.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   172
		"t_oeexe_exe/winscw/urel/t_oeexe_wins.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   173
		"t_oeexe_exe/winscw/urel/t_oeexe_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   174
		"t_oeexe_exe/winscw/urel/t_oeexe.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   175
		"t_oeexe_exe/winscw/urel/t_oeexe_wins.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   176
		"t_oeexe_exe/winscw/udeb/t_oeexe_UID_.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   177
		"t_oeexe_exe/winscw/udeb/t_oeexe_UID_.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   178
		"t_oeexe_exe/winscw/udeb/t_oeexe_wins.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   179
		"t_oeexe_exe/winscw/udeb/t_oeexe_wins.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   180
		"t_oeexe_exe/winscw/udeb/t_oeexe_UID_.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   181
		"t_oeexe_exe/winscw/udeb/t_oeexe.UID.CPP",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   182
		"t_oeexe_exe/winscw/udeb/t_oeexe_wins.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   183
		"t_oelib_lib/winscw/urel/t_oelib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   184
		"t_oelib_lib/winscw/urel/t_oelib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   185
		"t_oelib_lib/winscw/urel/t_oelib.dep",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   186
		"t_oelib_lib/winscw/udeb/t_oelib.o",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   187
		"t_oelib_lib/winscw/udeb/t_oelib.o.d",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   188
		"t_oelib_lib/winscw/udeb/t_oelib.dep"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   189
	])
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   190
	
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   191
	# On 9.4 the open environment checks for
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   192
	# mixed symbianc++ and stdc++ new/delete won't fail
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   193
	if getsymbianversion() != "9.4":
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   194
		t.mustmatch = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   195
			'.*checklib: error: library .*epoc32.release.armv5.urel.symbian_test.lib is incompatible with standard.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   196
			'.*checklib: error: library .*epoc32.release.armv5.urel.t_oelib.lib is incompatible with Symbian.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   197
			'.*checklib: error: library .*epoc32.release.armv5.udeb.symbian_test.lib is incompatible with standard.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   198
			'.*checklib: error: library .*epoc32.release.armv5.udeb.t_oelib.lib is incompatible with Symbian.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   199
			'.*checklib: error: library .*epoc32.release.winscw.urel.symbian_test.lib is incompatible with standard.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   200
			'.*checklib: error: library .*epoc32.release.winscw.urel.t_oelib.lib is incompatible with Symbian.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   201
			'.*checklib: error: library .*epoc32.release.winscw.udeb.t_oelib.lib is incompatible with Symbian.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   202
			'.*checklib: error: library .*epoc32.release.winscw.udeb.symbian_test.lib is incompatible with standard.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   203
			'.*armlink.*oe_exe_without_stdcpp.*scppnwdl.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   204
			'.*armlink.*symbian_exe_with_stdcpp.*stdnew.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   205
			'.*armlink.*oedll.*stdnew.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   206
			'.*armlink.*oeexe.*stdnew.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   207
			'.*armlink.*symbian_newlib.exe.*scppnwdl.dso.*'
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   208
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   209
		t.mustnotmatch = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   210
			'.*armlink.*oe_exe_without_stdcpp.*stdnew.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   211
			'.*armlink.*symbian_exe_with_stdcpp.*scppnwdl.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   212
			'.*armlink.*oedll.*scppnwdl.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   213
			'.*armlink.*oeexe.*scppnwdl.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   214
			'.*armlink.*symbian_newlib.exe.*stdnew.dso.*',
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   215
			'.*mwldsym2.*scppnwdl.lib.*symbian_exe_with_stdcpp.exe.*'
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   216
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   217
	else: 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   218
		# these files will build for 9.4
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   219
		t.targets.extend([
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   220
			"$(EPOCROOT)/epoc32/release/winscw/urel/wrong_newlib_test_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   221
			"$(EPOCROOT)/epoc32/release/winscw/urel/wrong_newlib_test_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   222
			"$(EPOCROOT)/epoc32/release/winscw/udeb/wrong_newlib_test_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   223
			"$(EPOCROOT)/epoc32/release/winscw/udeb/wrong_newlib_test_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   224
			"$(EPOCROOT)/epoc32/release/winscw/urel/wrong_newlib_test_seexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   225
			"$(EPOCROOT)/epoc32/release/winscw/urel/wrong_newlib_test_seexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   226
			"$(EPOCROOT)/epoc32/release/winscw/udeb/wrong_newlib_test_seexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   227
			"$(EPOCROOT)/epoc32/release/winscw/udeb/wrong_newlib_test_seexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   228
			"$(EPOCROOT)/epoc32/release/armv5/urel/wrong_newlib_test_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   229
			"$(EPOCROOT)/epoc32/release/armv5/udeb/wrong_newlib_test_oeexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   230
			"$(EPOCROOT)/epoc32/release/armv5/urel/wrong_newlib_test_seexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   231
			"$(EPOCROOT)/epoc32/release/armv5/udeb/wrong_newlib_test_seexe.exe",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   232
			"$(EPOCROOT)/epoc32/release/armv5/urel/wrong_newlib_test_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   233
			"$(EPOCROOT)/epoc32/release/armv5/udeb/wrong_newlib_test_oeexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   234
			"$(EPOCROOT)/epoc32/release/armv5/urel/wrong_newlib_test_seexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   235
			"$(EPOCROOT)/epoc32/release/armv5/udeb/wrong_newlib_test_seexe.exe.map",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   236
			"$(EPOCROOT)/epoc32/release/armv5/urel/wrong_newlib_test_oeexe.exe.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   237
			"$(EPOCROOT)/epoc32/release/armv5/udeb/wrong_newlib_test_oeexe.exe.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   238
			"$(EPOCROOT)/epoc32/release/armv5/urel/wrong_newlib_test_seexe.exe.sym",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   239
			"$(EPOCROOT)/epoc32/release/armv5/udeb/wrong_newlib_test_seexe.exe.sym"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   240
		])
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   241
	t.run()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   242
	return t