sbsv2/raptor/test/smoke_suite/resource.py
author Jon Chatten
Fri, 12 Nov 2010 14:49:36 +0000
changeset 674 37ee82a83d43
parent 625 a1925fb7753a
permissions -rw-r--r--
sbs version 2.15.3
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-2010 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
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18
from raptor_tests import ReplaceEnvs
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    19
from raptor_meta import BldInfFile
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    20
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    21
def run():
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    22
	t = SmokeTest()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    23
	t.id = "30"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    24
	t.name =  "resource"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    25
	t.command = "sbs  -b smoke_suite/test_resources/simple_gui/Bld.inf RESOURCE"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    26
	t.targets = [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    27
		"$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    28
		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm",
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    29
		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm",
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    30
		"$(EPOCROOT)/epoc32/include/HelloWorld.rsg",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    31
		"$(EPOCROOT)/epoc32/data/z/resource/apps/HelloWorld.rsc",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    32
		"$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/HelloWorld_reg.rsc",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    33
		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/HelloWorld.rsc",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    34
		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/HelloWorld.rsc",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    35
		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10003a3f/apps/HelloWorld_reg.rsc",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    36
		"$(EPOCROOT)/epoc32/release/winscw/urel/z/private/10003a3f/apps/HelloWorld_reg.rsc"	
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    37
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    38
	
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    39
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    40
	t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    41
		"helloworld_exe/helloworld.mbm_bmconvcommands",
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    42
		"HelloWorld_exe/HelloWorld_HelloWorld.rsc.rpp",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    43
		"HelloWorld_exe/HelloWorld_HelloWorld.rsc.d",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    44
		"HelloWorld_reg_exe/HelloWorld_reg_HelloWorld_reg.rsc.rpp",
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    45
		"HelloWorld_reg_exe/HelloWorld_reg_HelloWorld_reg.rsc.d"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    46
		])
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    47
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    48
	t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    49
	
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    50
	t.run()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    51
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    52
	t.id="30a"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    53
	t.name =  "no_depend_gen_resource"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    54
	t.usebash = True
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    55
	t.description =  """Check that dependent resources still build correctly even when we turn dependency generation off.  This
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    56
			    test cannot really do this reliably, if you think about it, since it can't force make to try building resources
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    57
			    in the 'wrong' order.  What it does attempt is to check that 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    58
			    the ultimately generated dependency file is ok.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    59
			    N.B.  It also attempts to ensure that the dependency file is 'minimal'  i.e. that it only references .mbg and .rsg files
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    60
			    that might come from other parts of the same build.  This is important for performance in situations where --no-depend-generate
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    61
			    is used because the weight of 'complete' dependency information would overwhelm make.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    62
			 """
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    63
	buildLocation = ReplaceEnvs("$(EPOCROOT)/epoc32/build/") + BldInfFile.outputPathFragment('smoke_suite/test_resources/resource/group/bld.inf')
625
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    64
	res_depfile= buildLocation+"/dependentresource_/dependentresource_dependentresource.rsc.d"
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    65
616
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    66
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    67
	t.targets = [
616
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    68
		"$(EPOCROOT)/epoc32/data/z/resource/anotherresource/testresource.r01",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    69
		"$(EPOCROOT)/epoc32/data/z/resource/anotherresource/testresource.rsc",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    70
		"$(EPOCROOT)/epoc32/data/z/resource/dependentresource/dependentresource.rsc",
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    71
		"$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.r01",
616
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    72
		"$(EPOCROOT)/epoc32/include/testresource.hrh",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    73
		"$(EPOCROOT)/epoc32/include/testresource.rsg",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    74
		"$(EPOCROOT)/epoc32/include/onelang.rsg",
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    75
		"$(EPOCROOT)/epoc32/release/armv5/urel/testresource.exe",
616
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    76
		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/anotherresource/testresource.r01",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    77
		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/anotherresource/testresource.rsc",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    78
		"$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/dependentresource/dependentresource.rsc",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    79
		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/anotherresource/testresource.r01",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    80
		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/anotherresource/testresource.rsc",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    81
		"$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/dependentresource/dependentresource.rsc",
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    82
		res_depfile
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    83
		]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    84
616
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    85
	t.addbuildtargets('smoke_suite/test_resources/resource/group/bld.inf', [
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    86
		"dependentresource_/dependentresource_dependentresource.rsc",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    87
		"testresource_/testresource_dependentresource.r01",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
    88
		"testresource_/testresource_dependentresource.rsc",
625
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    89
		"testheader_/testheader_testresource_sc.rsg.d",
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    90
		"testheader_/testheader_testresource_sc.rsg.rpp",
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    91
		"testresource_/testresource_testresource.r02.rpp",
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    92
		"onelang_/onelang_onelang_sc.rsg.rpp",
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    93
		"testresource_/testresource_testresource.rsc.rpp"])
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    94
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
    95
	t.command = "sbs -b smoke_suite/test_resources/resource/group/bld.inf  -c armv5_urel -c winscw_urel reallyclean ; sbs --no-depend-generate -j 16 -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -c winscw_urel -f ${SBSLOGFILE} -m ${SBSMAKEFILE} && grep 'epoc32.include.test[^ ]*.rsg' %s && { X=`md5sum $(EPOCROOT)/epoc32/release/winscw/urel/z/resource/anotherresource/testresource.rsc` && Y=`md5sum $(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc` && [ \"${X%% *}\" != \"${Y%% *}\" ] ; }  && wc -l %s " % (res_depfile, res_depfile)
625
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
    96
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    97
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    98
	t.mustnotmatch = []
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    99
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   100
	t.mustmatch = [
625
a1925fb7753a sbs version 2.15.0
Richard Taylor <richard.i.taylor@nokia.com>
parents: 616
diff changeset
   101
			"[23] .*.dependentresource_.dependentresource_dependentresource.rsc.d"
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   102
		      ]
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   103
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   104
	t.run()
616
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   105
	
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   106
	t.id="30b"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   107
	t.name =  "resource_corner_cases_reallyclean"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   108
	t.usebash = True
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   109
	t.description =  """ Additional corner cases for resources:
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   110
						 1) Use of "TARGETTYPE none" but not "TARGET" mmp keyword.
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   111
						 2) Use of a resource with no LANG. """
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   112
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   113
	t.targets = []
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   114
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   115
	t.command = "sbs -b smoke_suite/test_resources/resource/group/bld2.inf -c armv5_urel -c winscw_urel reallyclean"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   116
	t.mustnotmatch = []
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   117
	t.mustmatch = []
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   118
	t.run()
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   119
	
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   120
	t.id="30c"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   121
	t.name =  "resource_corner_cases"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   122
	t.usebash = True
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   123
	t.description =  """ Additional corner cases for resources:
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   124
						 1) Use of "TARGETTYPE none" but not "TARGET" mmp keyword.
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   125
						 2) Use of a resource with no LANG. """
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   126
	
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   127
	buildLocation = ReplaceEnvs("$(EPOCROOT)/epoc32/build/") + BldInfFile.outputPathFragment('smoke_suite/test_resources/resource/group/bld2.inf')
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   128
	rsc_file= buildLocation+"/testresource_/testresource_testresource.rsc"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   129
	
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   130
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   131
	t.targets = ["$(EPOCROOT)/epoc32/data/z/resource/apps/notargetkeyword.mbm",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   132
				 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/notargetkeyword.mbm",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   133
				 "$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/notargetkeyword.mbm",
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   134
				 rsc_file ]
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   135
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   136
	t.command = "sbs -b smoke_suite/test_resources/resource/group/bld2.inf -c armv5_urel -c winscw_urel"
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   137
	t.mustnotmatch = []
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   138
	t.mustmatch = []
24e4ef208cca sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents: 591
diff changeset
   139
	t.run()
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   140
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   141
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   142
	t.id = "30d"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   143
	t.name =  "resource_rsg_casefolding_fail"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   144
	t.command = "sbs -b smoke_suite/test_resources/resource/rsg_casefolding/bld.inf RESOURCE"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   145
	t.targets = []
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   146
	
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   147
	t.warnings = 1
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   148
	t.errors = 3
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   149
	t.returncode = 1
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   150
	t.run("linux")
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   151
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   152
	t.id = "30e"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   153
	t.name =  "resource_rsg_casefolding_pass"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   154
	t.command = "sbs -b smoke_suite/test_resources/resource/rsg_casefolding/bld.inf --use-rsg-casefolding RESOURCE"
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   155
	t.targets = []
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   156
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   157
	t.warnings = 0
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   158
	t.errors = 0
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   159
	t.returncode = 0
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   160
	t.run("linux")
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   161
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents: 625
diff changeset
   162
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   163
	t.name = 'resource'
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   164
	t.print_result()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
   165
	return t